NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
type WindowState = "attached" | "detached" | "closed";

Defined in: native-window/index.d.ts:27

The lifecycle state of a window surface.

  • attached – connected to a live native surface.
  • detached – the native surface went away but the window may be reconnected.
  • closed – permanently torn down.
Previous
WindowRole