Documentation
Statusbar
getElement #
Access to the Dom of the statusbar element.
var $statusbar = this.app.statusbar.getElement();
var html = $statusbar.html();
add #
name | String | |
html | String |
Adds an item with specified name and HTML to the statusbar.
this.app.statusbar.add('stat', '124 <b>words</b>');
update #
name | String | |
html | String |
Adds the item with specified name in the statusbar.
this.app.statusbar.update('stat', '125 <b>words</b>');
get #
name (optional) | String |
Returns the wrapped Dom object of the specified item in the statusbar. If the item doesn't exist returns false
. Or return all items of the statusbar.
var $item = this.app.statusbar.get('stat');
var $items = this.app.statusbar.get();
remove #
name (optional) | String |
Removes the specified item form the statusbar.
this.app.statusbar.remove('stat');
clear #
Removes all items from the statusbar.
this.app.statusbar.clear();