Created
October 7, 2015 20:53
-
-
Save vorporeal/0775e57edf0a5eb991b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<base href="//polygit.org/polymer+v1.1.3/components/"> | |
<link href="polymer/polymer.html" rel="import"> | |
<link href="paper-dialog/paper-dialog.html" rel="import"> | |
<script> | |
function openDialog() { | |
document.getElementById('dialog').open(); | |
} | |
</script> | |
</head> | |
<body> | |
<paper-dialog id="dialog" with-backdrop> | |
<div>Some content.</div> | |
</paper-dialog> | |
<button onclick="openDialog()">Open dialog!</button> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment