Last active
August 29, 2015 14:03
-
-
Save jnicklas/12ae4fc513ad50434f85 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="bower_components/platform/platform.js"></script> | |
<link rel="import" href="bower_components/polymer/polymer.html"> | |
</head> | |
<body> | |
<polymer-element name="hello-world" attributes="step" noscript> | |
<template> | |
<h1>Hello {{name}}</h1> | |
</template> | |
</polymer-element> | |
<script> | |
setTimeout(function() { | |
Polymer('hello-world', { | |
name: "Jonas" | |
}); | |
document.body.appendChild(document.createElement("hello-world")) | |
}, 500); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment