DaffToastComponent
DaffToastComponent provides a way to display and communicate information for user actions or system updates.
import { DaffToastComponent } from '@daffodil/design/toast'
@Component()
class DaffToastComponent implements DaffPrefixable, AfterContentInit, AfterViewInit, OnDestroy {
@ContentChild() _actions: DaffToastActionsDirective
@ContentChild() _prefix: DaffPrefixDirective
@Input() toast: DaffToast
ngAfterContentInit()
ngAfterViewInit()
ngOnDestroy()
}
Selector:
'daff-toast'
Properties
Name | Type | Description |
---|---|---|
_actions | DaffToastActionsDirective | |
_prefix | DaffPrefixDirective | |
@Input() toast | DaffToast | |
ngAfterContentInit | ||
ngAfterViewInit | ||
ngOnDestroy |