Package [root]

Types

Link copied to clipboard
class Tooltip<C : HTMLElement>(renderContext: Tag<HTMLElement>, tagFactory: TagFactory<Tag<C>>, classes: String?, id: String?, scope: ScopeContext.() -> Unit) : PopUpPanel<C>

This class provides the building blocks to implement a tooltip.

Functions

Link copied to clipboard
fun Tag<HTMLElement>.tooltip(classes: String? = null, id: String? = null, internalScope: ScopeContext.() -> Unit = {}, initialize: Tooltip<HTMLDivElement>.() -> Unit)

Factory function to create a tooltip with a HTMLDivElement as default Tag.

fun <C : HTMLElement> Tag<HTMLElement>.tooltip(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: Tooltip<C>.() -> Unit)

Factory function to create a tooltip.