@ribajs/bs5
Version:
Bootstrap 5 module for Riba.js
15 lines (12 loc) • 360 B
text/typescript
import type { NotificationEventBinderData } from "./notification-event-binder-data.js";
export abstract class Notification implements NotificationEventBinderData {
type: string;
title?: string;
channel?: string;
$event?: CustomEvent;
$context?: any;
constructor(type: string, title?: string) {
this.type = type;
this.title = title;
}
}