Status bar items at the bottom.
add#
Adds a named statusbar item with HTML content to the left or right side.
Parameters:
- name (
string) — identifier name - value (
any) — value to store - position (
string) — document position (startorend)
app.statusbar.add('words', '120 words', 'end');
update#
Updates the innerHTML of an existing statusbar item by name.
Parameters:
- name (
string) — identifier name - value (
any) — value to store
app.statusbar.update('words', '150 words');
get#
Returns the innerHTML of a statusbar item by name.
Parameters:
- name (
string) — identifier name
Returns: string|null
app.statusbar.get('words');
remove#
Removes a statusbar item from the DOM and internal map.
Parameters:
- name (
string) — identifier name
app.statusbar.remove('words');
clear#
Removes all statusbar items from both left and right containers.
app.statusbar.clear();