kvision / pl.treksoft.kvision.electron / TouchBarSegmentedControlConstructorOptions

TouchBarSegmentedControlConstructorOptions

external interface TouchBarSegmentedControlConstructorOptions

Properties

change

abstract var change: (selectedIndex: Number, isSelected: Boolean) -> Unit

mode

open var mode: dynamic

segments

abstract var segments: Array<SegmentedControlSegment>

segmentStyle

open var segmentStyle: dynamic

selectedIndex

open var selectedIndex: Number?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.