| title | WindowEvents |
|---|---|
| titleTemplate | title - API / NativeScript |
| description | Application-level events related to window management. |
| contributors | false |
const WindowEvents: {
primaryWindowChanged: "primaryWindowChanged";
windowClose: "windowClose";
windowOpen: "windowOpen";
};Defined in: native-window/native-window-interfaces.ts
Application-level events related to window management.
readonly primaryWindowChanged: "primaryWindowChanged";Fired on Application when another window takes over the primary role.
readonly windowClose: "windowClose";Fired on Application when a NativeWindow is closed/destroyed.
readonly windowOpen: "windowOpen";Fired on Application when a new NativeWindow is created.