Skip to content

Commit

Permalink
fix bug 1676360
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 4, 2021
1 parent fa35a0b commit d17091c
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 0 deletions.
17 changes: 17 additions & 0 deletions browserAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,23 @@ openPopup()

Opens the extension popup window in the active window.

.. _browserAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

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


.. api-member::
:type: boolean


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

.. rst-class:: api-main-section

Events
Expand Down
17 changes: 17 additions & 0 deletions composeAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,23 @@ openPopup()

Opens the extension popup window in the active window.

.. _composeAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

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


.. api-member::
:type: boolean


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

.. rst-class:: api-main-section

Events
Expand Down
17 changes: 17 additions & 0 deletions messageDisplayAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,23 @@ openPopup()

Opens the extension popup window in the active window.

.. _messageDisplayAction.isEnabled :

isEnabled ()
------------

.. api-section-annotation-hack::

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


.. api-member::
:type: boolean


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

.. rst-class:: api-main-section

Events
Expand Down
6 changes: 6 additions & 0 deletions overlay/browserAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
}
],
"functions": [
{
"name": "isEnabled ",
"returns": {
"type": "boolean"
}
},
{
"name": "setLabel",
"added": "84.0b3"
Expand Down
6 changes: 6 additions & 0 deletions overlay/composeAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
}
],
"functions": [
{
"name": "isEnabled ",
"returns": {
"type": "boolean"
}
},
{
"name": "setLabel",
"added": "84.0b3"
Expand Down
6 changes: 6 additions & 0 deletions overlay/messageDisplayAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
}
],
"functions": [
{
"name": "isEnabled ",
"returns": {
"type": "boolean"
}
},
{
"name": "setLabel",
"added": "84.0b3"
Expand Down

0 comments on commit d17091c

Please sign in to comment.