NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
type WindowContentResolver = (request: WindowContentRequest) => View | NavigationEntry | string | null | undefined;

Defined in: native-window/native-window-interfaces.ts

Supplies the UI for a window that needs content. Called once per window that needs it.

Return a View, a NavigationEntry or a module name to set the window content, null to take ownership and set the content asynchronously later, or undefined to fall back to the application main entry.

Parameters

ParameterType
requestWindowContentRequest

Returns

View | NavigationEntry | string | null | undefined