Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 964 Bytes

WindowEvents.md

File metadata and controls

44 lines (31 loc) · 964 Bytes
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.

Type Declaration

primaryWindowChanged

readonly primaryWindowChanged: "primaryWindowChanged";

Fired on Application when another window takes over the primary role.

windowClose

readonly windowClose: "windowClose";

Fired on Application when a NativeWindow is closed/destroyed.

windowOpen

readonly windowOpen: "windowOpen";

Fired on Application when a new NativeWindow is created.