import { KbqToastModule } from '@koobiq/components/toast';| Name | Description |
|---|---|
| animation: BehaviorSubject |
|
| focused: BehaviorSubject |
|
| hovered: BehaviorSubject |
|
| read: BehaviorSubject |
|
| templates: EmbeddedViewRef |
|
| timer: Observable |
|
| toasts: ComponentRef$1 |
Selector: kbq-toast-container
| Name | Description |
|---|---|
| dir: Directionality | |
| dispatchScrollEvent: () => void | |
| elementRef: ElementRef |
|
| ngZone: NgZone | |
| scrollDispatcher: ScrollDispatcher | |
| viewContainer: ViewContainerRef |
Selector: [kbq-toast-close-button]
Selector: kbq-toast
| Name | Description |
|---|---|
| $implicit: any | |
| animationState: string | |
| delay: any | |
| elementRef: ElementRef |
|
| focused: BehaviorSubject |
|
| hovered: BehaviorSubject |
|
| id: number | |
| isFocusedOrHovered: boolean | |
| readStateDirective: KbqReadStateDirective | |
| themePalette: typeof ThemePalette | |
| toastStyle: { [x: string]: boolean; } | |
| ttl: any |
| Name | Description |
|---|---|
| actions: TemplateRef |
|
| caption: string | TemplateRef |
|
| closeButton: boolean | TemplateRef |
|
| content: string | TemplateRef |
|
| icon: boolean | TemplateRef |
|
| iconClass: string | |
| id: string | |
| style: string | |
| title: string | TemplateRef |
| Name | Description |
|---|---|
| delay: number | |
| duration: number | |
| indent: { vertical: number; horizontal: number; } | Custom indentation for positioning the toast stack overlay when using `GlobalPositionStrategy` |
| onTop: boolean | |
| position: KbqToastPosition |
const KBQ_TOAST_FACTORY: InjectionToken<typeof KbqToastComponent>;
const defaultToastConfig: KbqToastConfig;
const KBQ_TOAST_CONFIG: InjectionToken<KbqToastConfig>;
Utility provider for `KBQ_TOAST_CONFIG`.
const kbqToastConfigurationProvider: (configuration: Partial<KbqToastConfig>) => Provider;