Ns Root Layout Overlays

Use when building in-app overlays, toasts, popups, or bottom sheets without a native modal — getRootLayout().open with shadeCover and enter/exit animations, close/closeAll/bringToFront, and the traps — getRootLayout() returns the FIRST registered RootLayout (not the topmost), every method rejects its promise on misuse ("View ... has already been added to the root layout"), and open() zeroes the view opacity before animating.

nativescript 91fcba1 3.6 KB Updated

File contents

nativescript/skills/tree/main/skills/ui/ns-root-layout-overlays commit 91fcba1e80

Frequently asked questions

npx skillmds@latest add nativescript/ns-root-layout-overlays