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 Updated 1 repo stars

File contents

nativescript/skills commit 91fcba1e80

Frequently asked questions

npx get-skill add nativescript/ns-root-layout-overlays