Skip to content

Commit

Permalink
Update statusbar
Browse files Browse the repository at this point in the history
Update status bar with :
- New option : autoButtonDisable
- New event : statusbar_onload
- New event : statusbar_buttons_disable
- New event : statusbar_buttons_enable

Related post : #18
  • Loading branch information
GBonnaire committed Feb 10, 2023
1 parent 5be12c2 commit fe2df8e
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 21 deletions.
2 changes: 1 addition & 1 deletion plugins/JSSV8/dist/statusbar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions plugins/JSSV8/dist/statusbar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions plugins/JSSV8/src/statusbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ jSpreadsheet, a lightweight Vanilla JavaScript plugin, can help you create excep
<td><code>Boolean</code></td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>autoButtonDisable</code></td>
<td>option to defined behavior action bar. Automatic button disable when no action it's possible</td>
<td><code>Boolean</code></td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>formulas</code></td>
<td>Object of formulas, you can use quick reference on formulas<br>
Expand All @@ -95,6 +101,31 @@ jSpreadsheet, a lightweight Vanilla JavaScript plugin, can help you create excep

You can modify CSS file for change separator of formulas

### Events
This plugin dispatch this events
<table>
<thead>
<tr>
<th>Event name</th>
<th>Args</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>statusbar_onload</code></td>
<td>WorkBook, Elements(Array of elements)</td>
</tr>
<tr>
<td><code>statusbar_buttons_disable</code></td>
<td>Worksheet, Elements(Array of elements)</td>
</tr>
<tr>
<td><code>statusbar_buttons_enable</code></td>
<td>Worksheet, Elements(Array of elements)</td>
</tr>
</tbody>
</table>

### For translation
you can use jSuites dictionary for translate this plugin
<table>
Expand Down
Loading

0 comments on commit fe2df8e

Please sign in to comment.