Created
November 27, 2013 20:08
-
-
Save sorvell/7682389 to your computer and use it in GitHub Desktop.
inline polymer-element
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> | |
<title>Untitled</title> | |
<script src="components/platform/platform.js"></script> | |
<link rel="import" href="components/polymer/polymer.html"> | |
</head> | |
<body> | |
<x-hi></x-hi> | |
<polymer-element name="x-hi"> | |
<template> | |
Hi! | |
</template> | |
<script> | |
Polymer('x-hi', { | |
happy: true | |
}); | |
</script> | |
</polymer-element> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment