@instructure/canvas-rce
Version:
A component wrapping Canvas's usage of Tinymce
20 lines (19 loc) • 499 B
TypeScript
/**
* This class acts as a store/registry of sorts. This enables us to
* talk between the UI components of the RCE and the API pieces.
*
* @class AlertHandler
*/
export class AlertHandler {
constructor(alertFunc: any);
alertFunc: any;
/**
* Calls the registered alertFunc assuming one has been set, otherwise
* it throws.
*
* @memberof AlertHandler
*/
handleAlert: (alert: any) => void;
}
declare const _default: AlertHandler;
export default _default;