packages/components/eui-page/eui-page.component.ts
Root page layout component that provides the foundational structure for application pages. Automatically detects and adapts styling based on the presence of column-based layouts. Serves as the top-level container for page content, headers, sidebars, and footers. Provides consistent spacing, alignment, and responsive behavior across the application. Typically used as the outermost wrapper for each route's content in the application.
<eui-page>
<eui-page-header label="Page Title"></eui-page-header>
<eui-page-content>
Main content here
</eui-page-content>
</eui-page><eui-page>
<eui-page-columns>
<eui-page-column label="Sidebar">Sidebar content</eui-page-column>
<eui-page-column label="Main">Main content</eui-page-column>
</eui-page-columns>
</eui-page>| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-page |
| styleUrls | ./styles/_index.scss |
| templateUrl | ./eui-page.component.html |
Properties |
HostBindings |
Accessors |
| class |
Type : string
|
| columns |
Type : QueryList<EuiPageColumnsComponent>
|
Decorators :
@ContentChild(EuiPageColumnsComponent, {static: true})
|
| cssClasses |
getcssClasses()
|