Skip to content

Commit fe2df8e

Browse files
committed
Update statusbar
Update status bar with : - New option : autoButtonDisable - New event : statusbar_onload - New event : statusbar_buttons_disable - New event : statusbar_buttons_enable Related post : #18
1 parent 5be12c2 commit fe2df8e

File tree

6 files changed

+91
-21
lines changed

6 files changed

+91
-21
lines changed

plugins/JSSV8/dist/statusbar.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/JSSV8/dist/statusbar.min.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/JSSV8/src/statusbar/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ jSpreadsheet, a lightweight Vanilla JavaScript plugin, can help you create excep
7171
<td><code>Boolean</code></td>
7272
<td><code>false</code></td>
7373
</tr>
74+
<tr>
75+
<td><code>autoButtonDisable</code></td>
76+
<td>option to defined behavior action bar. Automatic button disable when no action it's possible</td>
77+
<td><code>Boolean</code></td>
78+
<td><code>false</code></td>
79+
</tr>
7480
<tr>
7581
<td><code>formulas</code></td>
7682
<td>Object of formulas, you can use quick reference on formulas<br>
@@ -95,6 +101,31 @@ jSpreadsheet, a lightweight Vanilla JavaScript plugin, can help you create excep
95101

96102
You can modify CSS file for change separator of formulas
97103

104+
### Events
105+
This plugin dispatch this events
106+
<table>
107+
<thead>
108+
<tr>
109+
<th>Event name</th>
110+
<th>Args</th>
111+
</tr>
112+
</thead>
113+
<tbody>
114+
<tr>
115+
<td><code>statusbar_onload</code></td>
116+
<td>WorkBook, Elements(Array of elements)</td>
117+
</tr>
118+
<tr>
119+
<td><code>statusbar_buttons_disable</code></td>
120+
<td>Worksheet, Elements(Array of elements)</td>
121+
</tr>
122+
<tr>
123+
<td><code>statusbar_buttons_enable</code></td>
124+
<td>Worksheet, Elements(Array of elements)</td>
125+
</tr>
126+
</tbody>
127+
</table>
128+
98129
### For translation
99130
you can use jSuites dictionary for translate this plugin
100131
<table>

0 commit comments

Comments
 (0)