kvision / pl.treksoft.kvision.core / PopoverOptions

PopoverOptions

data class PopoverOptions

Popover options.

Constructors

<init>

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

Popover options.

Properties

animation

val animation: Boolean?

content

val content: String?

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 PopoverOptions.toJs(): dynamic

Convert PopoverOptions to JavaScript JSON object.