Skip to content
NativeScript Unified

Components

Dialog

hlm-dialog wraps a trigger button and a hlm-dialog-content panel. The panel is declared with *hlmDialogPortal, so it is only created when the dialog opens.

The dialog is built on the brain dialog. On the web it opens in an Angular CDK overlay, and in the native app it opens as the platform's dialog, with the name field inside it. See Native elements. It closes with Escape, with a hlmDialogClose button, or with the built-in close button.