Skip to content

Commit

Permalink
fix wrong spacesToolbar callback
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed May 31, 2023
1 parent 33b085f commit 9a49545
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spacesToolbar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ Adds a new button to the spaces toolbar. Throws an exception, if the used ``id``
Properties of the new button. The ``url`` is mandatory.


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: integer

The id of the space belonging to the newly created button, as used by the tabs API.


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. _spacesToolbar.removeButton:

removeButton(id)
Expand Down

0 comments on commit 9a49545

Please sign in to comment.