src/app/component/message/message.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | stbui-message |
| styleUrls | ./message.component.scss |
| templateUrl | ./message.component.html |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(changeDetectorRef: ChangeDetectorRef)
|
||||||
|
Parameters :
|
| color | |
Type : "primary" | "accent" | "warn"
|
|
| icon | |
Type : string
|
|
Default value : 'info_outline'
|
|
| label | |
Type : string
|
|
| opened | |
Type : boolean
|
|
| sublabel | |
Type : string
|
|
| close |
close()
|
|
Returns :
void
|
| ngOnInit |
ngOnInit()
|
|
Returns :
void
|
| open |
open()
|
|
Returns :
void
|
| toggle |
toggle()
|
|
Returns :
void
|
| Private _opened |
Type : boolean
|
Default value : true
|
| opened | ||||||
getopened()
|
||||||
setopened(opened: boolean)
|
||||||
|
Parameters :
Returns :
void
|
./message.component.scss