Class

NgxPageDirective#NgxPageDirective

lib/engine/NgxPageDirective.NgxPageDirective#NgxPageDirective(localeRootopt, hasMenuopt)

Constructor

# new NgxPageDirective#NgxPageDirective(localeRootopt, hasMenuopt)

Initializes the page directive with optional locale root and menu visibility settings. Calls the parent NgxComponentDirective constructor to set up base functionality including logging, localization, and component identification.

Constructor for NgxPageDirective.

Parameters:
Name Type Attributes Default Description
localeRoot string <optional>

Optional locale root key for internationalization

hasMenu boolean <optional>
true

Whether this page should display the menu

View Source lib/engine/NgxPageDirective.ts, line 325