@silexlabs/grapesjs-notifications
Version: 
This GrapesJs plugin is designed to enhance the user experience within the editor by providing a robust notification system. This plugin captures and displays various types of notifications including errors, warnings, and activities, thereby facilitating
17 lines • 969 B
TypeScript
import { Editor } from 'grapesjs';
import { NotificationManagerOptions, NOTIFICATION_CHANGED, NOTIFICATION_ADDED, NOTIFICATION_REMOVED, NOTIFICATION_CLEARED } from './NotificationManager';
export declare const NOTIFICATION_ADD = "notifications:add";
export declare const NOTIFICATION_REMOVE = "notifications:remove";
export declare const NOTIFICATION_CLEAR = "notifications:clear";
export { NOTIFICATION_CHANGED, NOTIFICATION_ADDED, NOTIFICATION_REMOVED, NOTIFICATION_CLEARED };
export type { NotificationManagerOptions } from './NotificationManager';
export type { NotificationOptions } from './Notification';
export { Notification } from './Notification';
declare const _default: (editor: Editor, opts?: Partial<NotificationManagerOptions>) => {
    getAll: () => import("./Notification").Notification[];
    add: (notification: any) => any;
    remove: (notification: any) => any;
    clear: () => any;
};
export default _default;
//# sourceMappingURL=index.d.ts.map