kvision / pl.treksoft.kvision.electron / TouchBarScrubberConstructorOptions

TouchBarScrubberConstructorOptions

external interface TouchBarScrubberConstructorOptions

Properties

continuous

abstract var continuous: Boolean

highlight

abstract var highlight: (highlightedIndex: Number) -> Unit

items

abstract var items: Array<ScrubberItem>

mode

abstract var mode: String

overlayStyle

abstract var overlayStyle: String

select

abstract var select: (selectedIndex: Number) -> Unit

selectedStyle

abstract var selectedStyle: String

showArrowButtons

abstract var showArrowButtons: Boolean

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.