kvision / pl.treksoft.kvision.electron / Dock

Dock

external interface Dock

Properties

bounce

abstract var bounce: (dynamic) -> Number

cancelBounce

abstract var cancelBounce: (id: Number) -> Unit

downloadFinished

abstract var downloadFinished: (filePath: String) -> Unit

getBadge

abstract var getBadge: () -> String

hide

abstract var hide: () -> Unit

isVisible

abstract var isVisible: () -> Boolean

setBadge

abstract var setBadge: (text: String) -> Unit

setIcon

abstract var setIcon: (dynamic) -> Unit

setMenu

abstract var setMenu: (menu: Menu) -> Unit

show

abstract var show: () -> Unit

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.