external interface Dock
abstract var bounce: (dynamic) -> Number |
|
abstract var cancelBounce: (id: Number) -> Unit |
|
abstract var downloadFinished: (filePath: String) -> Unit |
|
abstract var getBadge: () -> String |
|
abstract var hide: () -> Unit |
|
abstract var isVisible: () -> Boolean |
|
abstract var setBadge: (text: String) -> Unit |
|
abstract var setIcon: (dynamic) -> Unit |
|
abstract var setMenu: (menu: Menu) -> Unit |
|
abstract var show: () -> Unit |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |