Event
Docs: https://docs.api.kunkun.sh/interfaces/ui.IEvent
Event API contains commands to listen to some window/app events.
For more details, refer to Docs.
Sample Code
Permission
-
onDragDrop
: [event:drag-drop
] -
onDragEnter
: [event:drag-enter
] -
onDragLeave
: [event:drag-leave
] -
onDragOver
: [event:drag-over
] -
onWindowBlur
: [event:window-blur
] -
onWindowCloseRequested
: [event:window-close-requested
] -
onWindowFocus
: [event:window-focus
]