LgApp
Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: Layouts
Inherits from: LgComponentBase
The App component must be used as the root component of the app. (App.razor)
Parameters
| Parameter | Type | Description |
|---|---|---|
Authorizing | RenderFragment | The content that will be displayed while asynchronous authorization is in progress. |
ChildContent | RenderFragment | The child content. |
DefaultLayout | Type | Gets or sets the type of a layout to be used if the page does not declare any layout. If specified, the type must implement IComponent and accept a parameter named Body. |
ErrorContent | RenderFragment<Exception> | The content to display when an unhandled error occurs. |
FooterContent | RenderFragment | The layout footer content. |
IsTabbed | bool | Gets or sets if the application use tabbed navigation else the simple page navigation is used. |
NotAuthorized | RenderFragment<AuthenticationState> | The content that will be displayed if the user is not authorized. |
NotFound | RenderFragment | Gets or sets the content to display when no match is found for the requested route. |
ShowFooter | bool | Display footer into app layout ? |
ShowHeader | bool | Display header into app layout ? |
ShowSidebar | bool | Display sidebar into app layout ? |
StartupTabs | RenderFragment | The list of LgStartupTab to define the pages to open when application startup. (Only used when the parameter "IsTabbed" is true. |