javascript - Addon SDK. How I can make popup like this? -
Is it possible to popup this way?
There is no content in the style and status of popups Interesting for me Under the toolbut, with the arrow from the center of the button.
The panel widget was not so, it's just a popup in the middle of the window.
How can I pop-up this add-ons SDK?
Firefox 30 and above, you can attach to panel
one Like toggle button
:
var panel = ("sdk / panel"). The panel ({... onHide: function () {button .state ('window', {checked: false}}}}}) Var button = requirement ("sdk / ui") Toggleton ({... onClick : Function (state) {if (state.checked) {panel.show ({position: button});}}}); column status
Specify to call the column on panel.show
; In this case, we are appending it to Toggleton
.
More Info:
Comments
Post a Comment