| <!-- |
| The <help-dialog-sk> custom element declaration. |
| |
| This elements provides a modal dialog with custom help content. |
| |
| Attributes: |
| None |
| |
| Methods: |
| open() - Opens the dialog. |
| |
| Events: |
| None |
| |
| Mailboxes: |
| None |
| |
| --> |
| |
| <link rel="import" href="bower_components/polymer/polymer.html"> |
| <link rel="import" href="bower_components/paper-dialog/paper-dialog.html"> |
| <link rel="import" href="bower_components/paper-button/paper-button.html"> |
| |
| <dom-module id="help-dialog-sk"> |
| <template> |
| <paper-dialog id="helpDialog"> |
| <div> |
| <content></content> |
| </div> |
| <div class="buttons"> |
| <paper-button dialog-dismiss>Close</paper-button> |
| </div> |
| </paper-dialog> |
| </template> |
| <script> |
| Polymer({ |
| is: "help-dialog-sk", |
| |
| open: function() { |
| this.$.helpDialog.open(); |
| } |
| }); |
| </script> |
| </dom-module> |