overlay/src/layouts/overlay-layout/overlay-layout.component.ts
The overlay layout component is a layout component that can be used to display the content of an overlay
Example :<talenra-overlay-layout [overlayRef]="overlayRef" [title]="title" [subtitle]="subTitle" width="m">
<app-pane class="sticky-bar" sticky-bar>
...
</app-pane>
<app-pane class="pane">
...
</app-pane>
<app-pane class="sticky-footer button-pane" sticky-footer>
...
</app-pane>
</talenra-overlay-layout> import { OverlayLayoutComponent } from '@talenra/components/overlay';| selector | talenra-overlay-layout |
| imports |
WorkspaceSimpleComponent
WorkspaceHeaderComponent
CloseOverlayComponent
|
| styleUrls | ./overlay-layout.component.scss |
| templateUrl | ./overlay-layout.component.html |
Inputs |
| overlayRef |
Type : OverlayRef
|
| Required : true |
|
Reference to overlay component |
| overscrollHeader |
Type : boolean
|
Default value : true
|
|
Determines whether the content is allowed to take the full height and to cover the header when scrolled. See ContentLayoutComponent for more information. Example : |
| subtitle |
Type : string
|
Default value : ''
|
|
The subtitle displayed to the user |
| title |
Type : string
|
Default value : ''
|
|
The title displayed to the user |
| useHeader |
Type : boolean
|
Default value : true
|
|
Determines whether the overlay uses a header element. See ContentLayoutComponent for more information. Example : |
| useStickyBar |
Type : boolean
|
Default value : true
|
|
Determines whether the overlay uses a sticky bar element. See ContentLayoutComponent for more information. Example : |
| useStickyFooter |
Type : boolean
|
Default value : true
|
|
Determines whether the overlay uses a sticky footer element. See ContentLayoutComponent for more information. Example : |
| width |
Type : TWorkspaceWidth
|
Default value : WorkspaceWidth.L
|
|
Determines the maximum width of the layout. Defaults to See WorkspaceWidth |