Created
September 26, 2014 09:27
-
-
Save ionelmc/1f132029dbdec5513cd3 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/puyuzecebudo/1
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://www.polymer-project.org/platform.js"></script> | |
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html"> | |
</head> | |
<body> | |
<polymer-element name="my-element" noscript> | |
<template> | |
<span>Hello from <b>my-element</b>. This is my Shadow DOM.</span> | |
</template> | |
</polymer-element> | |
<my-element></my-element> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"><\/script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://www.polymer-project.org/platform.js"><\/script> | |
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html"> | |
</head> | |
<body> | |
<polymer-element name="my-element" noscript> | |
<template> | |
<span>Hello from <b>my-element</b>. This is my Shadow DOM.</span> | |
</template> | |
</polymer-element> | |
<my-element></my-element> | |
</body> | |
</html></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment