tinymce.NotificationManager
This class handles the creation of TinyMCE’s notifications.
Examples
// Opens a new notification of type "error" with text "An error occurred."
tinymce.activeEditor.notificationManager.open({
text: 'An error occurred.',
type: 'error'
});
Summary
Methods
open()
open(args: Object)
Opens a new notification.
Parameters
-
args (Object)- Aname: valuecollection containing settings such as:timeout,type, and message (text).
For information on the available settings, see: Create custom notifications.