@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension.
10 lines (9 loc) • 597 B
TypeScript
export declare class ToasterService {
private defaultTimeout;
error: (title: string, body?: string, timeout?: number, toasterId?: string, toastId?: string) => void;
success: (title: string, body?: string, timeout?: number, toasterId?: string, toastId?: string) => void;
warning: (title: string, body?: string, timeout?: number, toasterId?: string, toastId?: string) => void;
info: (title: string, body?: string, timeout?: number, toasterId?: string, toastId?: string) => void;
clear: (toasterId?: string, toastId?: string) => void;
private createMessageObj;
}