reimplementation of frontend's api.addButtonToToolbar() to smoothen the upgrade

This commit is contained in:
zadam
2022-12-17 21:46:51 +01:00
parent 967919b400
commit 5af506e268
14 changed files with 382 additions and 161 deletions

View File

@@ -194,7 +194,7 @@
<h4 class="name" id="ToolbarButtonOptions">ToolbarButtonOptions</h4>
<h4 class="name" id="CreateOrUpdateLauncherOptions">CreateOrUpdateLauncherOptions</h4>
@@ -241,6 +241,38 @@
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="description last">id of the button, used to identify the old instances of this button to be replaced
ID is optional because of BC, but not specifying it is deprecated. ID can be alphanumeric only.</td>
</tr>
<tr>
<td class="name"><code>title</code></td>