Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
demo: add a modal dialog example
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Nov 11, 2014
1 parent 8103081 commit 28f86bd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@
</button>

<button>
With backdrop
Modal dialog with backdrop and actions

<paper-dialog backdrop>
<paper-action-dialog backdrop autoCloseDisabled>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</paper-dialog>

<paper-button affirmative autofocus>Tap me to close</paper-button>
</paper-action-dialog>

</button>

Expand Down

0 comments on commit 28f86bd

Please sign in to comment.