PopoverComponent

open class PopoverComponent : Component<Unit> , CloseButtonProperty

Class for configuring the appearance of a PopoverComponent.

Constructors

PopoverComponent
Link copied to clipboard
js
fun PopoverComponent()

Types

Companion
Link copied to clipboard
js
object Companion

Functions

content
Link copied to clipboard
js
fun content(value: RenderContext.() -> Unit)
fun content(value: String)
fun content(value: Flow<String>)
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
footer
Link copied to clipboard
js
fun footer(value: RenderContext.() -> Unit)
fun footer(value: String)
fun footer(value: Flow<String>)
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
header
Link copied to clipboard
js
fun header(value: RenderContext.() -> Unit)
fun header(value: String)
fun header(value: Flow<String>)
placement
Link copied to clipboard
js
fun placement(value: PopoverPlacements.() -> Style<BasicParams>)
render
Link copied to clipboard
js
open override fun render(context: RenderContext, styling: BoxParams.() -> Unit, baseClass: StyleClass?, id: String?, prefix: String)
Central method that should do the actual rendering of a component.
toString
Link copied to clipboard
js
open fun toString(): String

Properties

arrowPlacement
Link copied to clipboard
js
val arrowPlacement: ComponentProperty<PopoverArrowPlacements.() -> Style<BasicParams>>
closeButtonIcon
Link copied to clipboard
js
open override val closeButtonIcon: ComponentProperty<Icons.() -> IconDefinition>
closeButtonPrefix
Link copied to clipboard
js
open override val closeButtonPrefix: String
closeButtonRendering
Link copied to clipboard
js
open override val closeButtonRendering: ComponentProperty<RenderContext.() -> DomListener<MouseEvent, HTMLElement>>
closeButtonStyle
Link copied to clipboard
js
open override val closeButtonStyle: ComponentProperty<Style<BasicParams>>
closeOnBlur
Link copied to clipboard
js
val closeOnBlur: ComponentProperty<Boolean>
closeOnEscape
Link copied to clipboard
js
val closeOnEscape: ComponentProperty<Boolean>
hasArrow
Link copied to clipboard
js
val hasArrow: ComponentProperty<Boolean>
hasCloseButton
Link copied to clipboard
js
open override val hasCloseButton: ComponentProperty<Boolean>
size
Link copied to clipboard
js
val size: ComponentProperty<PopoverSizes.() -> Style<BasicParams>>
toggle
Link copied to clipboard
js
val toggle: ComponentProperty<RenderContext.() -> Unit?>