Tab extends Element
The API model used to edit tabs.
Methods
remove()
Remove the Element itself.
IF ALL ELEMENTS ARE REMOVED, ERRORS MAY OCCUR IN SUBSEQUENT OPERATIONS.
var tab = editor.getAPIModelById('id'); tab.remove();
replace(html)
- html <String> The HTML String to replace.
Replaces the element itself with the HTML String passed as an argument.
var tab = editor.getAPIModelById('id'); tab.replace('<span>Tab replaced</span>');