tinymce.dom.StyleSheetLoader
This class handles loading of external stylesheets and fires events when these are loaded.
Summary
Methods
Name | Summary | Defined by |
---|---|---|
Loads the specified CSS file and calls the |
||
Loads the specified CSS files and calls the |
||
Unloads the specified CSS file if no resources currently depend on it. Added in TinyMCE 5.5 |
||
Unloads each specified CSS file if no resources currently depend on it. Added in TinyMCE 5.5 |
Methods
load()
load(url: String, success: Function, failure: Function)
Loads the specified CSS file and calls the success
callback if successfully loaded, otherwise calls failure
.
loadAll()
loadAll(urls: Array, success: Function, failure: Function)
Loads the specified CSS files and calls the success
callback if successfully loaded, otherwise calls failure
.