qwc/projects/qwc/src/lib/components/qwc-banner/qwc-banner.component.ts
Render qwc-warning-banner component.
| encapsulation | ViewEncapsulation.None |
| selector | qwc-banner |
| styleUrls | qwc-banner.component.scss |
| templateUrl | qwc-banner.component.html |
Properties |
Methods |
Inputs |
constructor(cdr: ChangeDetectorRef)
|
||||||
|
Parameters :
|
| content |
Type : TemplateRef<any> | string
|
| height |
Type : number
|
| isClosable |
Type : boolean
|
| isErrorBanner |
Type : boolean
|
| isSuccessBanner |
Type : boolean
|
| width |
Type : number
|
| applyStyles |
applyStyles()
|
|
Apply styles
Returns :
void
void |
| ngAfterViewInit |
ngAfterViewInit()
|
|
Component lifecycle hook
Returns :
void
void |
| showHideBanner |
showHideBanner()
|
|
Show banner handler
Returns :
void
void |
| bannerElement |
Type : ElementRef
|
Decorators :
@ViewChild('banner')
|
| showBanner |
Default value : true
|
| text |
Type : string
|
Default value : ""
|