javascript - Addon SDK. How I can make popup like this? -


Is it possible to popup this way? Enter image details here

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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -