kvision / pl.treksoft.kvision.core / TooltipOptions

TooltipOptions

data class TooltipOptions

Tooltip options.

Constructors

<init>

TooltipOptions(title: String? = null, rich: Boolean? = null, animation: Boolean? = null, delay: Int? = null, placement: Placement? = null, triggers: List<Trigger>? = null, sanitize: Boolean? = null)

Tooltip options.

Properties

animation

val animation: Boolean?

delay

val delay: Int?

placement

val placement: Placement?

rich

val rich: Boolean?

sanitize

val sanitize: Boolean?

title

val title: String?

triggers

val triggers: List<Trigger>?

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun TooltipOptions.toJs(): dynamic

Convert TooltipOptions to JavaScript JSON object.