material design - How to use paper-dialog polymer element? -
i using element adding opening , closing tags <paper-dialog><p>this it</p></paper-dialog>
not getting shown up. need add script on top of should triggered on event? or there way make visible ?
the dialog autohidden. toggle button. example, give dialog id="dialog"
, make button on-tap="toggledialog"
, be
toggledialog: function() { this.$.dialog.toggle(); },
Comments
Post a Comment