kvision / pl.treksoft.kvision.electron / TouchBarButtonConstructorOptions

TouchBarButtonConstructorOptions

external interface TouchBarButtonConstructorOptions

Properties

backgroundColor

open var backgroundColor: String?

click

open var click: (() -> Unit)?

icon

open var icon: NativeImage?

iconPosition

open var iconPosition: dynamic

label

open var label: String?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.