UNPKG

@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

15 lines 883 B
import { Editor } from 'grapesjs'; import { NotificationManagerOptions, NOTIFICATION_CHANGED, NOTIFICATION_ADDED, NOTIFICATION_REMOVED, NOTIFICATION_CLEARED } from './NotificationManager'; export { NOTIFICATION_ADD, NOTIFICATION_REMOVE, NOTIFICATION_CLEAR, NOTIFICATION_LIST } from './commands'; 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