@ribajs/bs5
Version:
Bootstrap 5 module for Riba.js
25 lines (24 loc) • 767 B
TypeScript
import { Toast } from "./index.js";
import { Notification } from "../types/notification.js";
export declare class ToastNotification extends Notification {
message: string;
iconUrl?: string;
delay?: number;
autoHide?: boolean;
animation?: boolean;
toastService?: Toast;
contextualClass?: string;
constructor({ title, message, iconUrl, delay, autoHide, animation, toastService, contextualClass, channel, $event, $context, }: {
title?: string;
message: string;
iconUrl?: string;
delay?: number;
autoHide?: boolean;
animation?: boolean;
toastService?: Toast;
contextualClass?: string;
channel?: string;
$event?: CustomEvent;
$context?: any;
});
}