external interface MenuItemConstructorOptions
open var accelerator: Accelerator? |
|
open var checked: Boolean? |
|
open var click: ((menuItem: MenuItem, browserWindow: BrowserWindow, event: Event) -> Unit)? |
|
open var enabled: Boolean? |
|
open var icon: dynamic |
|
open var id: String? |
|
open var label: String? |
|
open var position: String? |
|
open var role: String? |
|
open var sublabel: String? |
|
open var submenu: dynamic |
|
open var type: dynamic |
|
open var visible: Boolean? |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |