@kushki/ng-suka
Version:
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
28 lines (27 loc) • 1 kB
TypeScript
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
import { ToastRef } from './toast-ref';
import { AnimationEvent } from '@angular/animations';
import { ToastAnimationState } from './toast-animations';
import { ToastContent } from './toast.service';
export declare class ToastContainer implements OnInit, OnDestroy {
toastRef: ToastRef;
toastConfig: any;
private intervalId;
animationState: ToastAnimationState;
animationStateChanged: EventEmitter<AnimationEvent>;
showFooter: boolean;
primaryActions: [];
secondaryActions: [];
content: ToastContent;
baseClass: boolean;
constructor(toastRef: ToastRef, toastConfig: any);
isTemplate(value: any): boolean;
ngOnInit(): void;
ngOnDestroy(): void;
close(): void;
onAnimationStart(event: AnimationEvent): void;
onAnimationDone(event: AnimationEvent): void;
closeToast($event: any): void;
onFadeFinished(event: AnimationEvent): void;
startExitAnimation(): void;
}