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'
});

Methods

name summary defined by
close() Closes the top most notification. tinymce.notificationManager
getNotifications() Returns the currently opened notification objects. tinymce.notificationManager
open() Opens a new notification. tinymce.notificationManager

Methods

close

close()

Closes the top most notification.

getNotifications

getNotifications():Array

Returns the currently opened notification objects.

Return value

open

open(args:Object)

Opens a new notification.

Parameters

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.