Last active
August 29, 2015 14:22
-
-
Save jeffposnick/3649274125d5edd674b0 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> | |
<title>Polymer 1.0.2 Template</title> | |
<script src="https://cdn.rawgit.com/webcomponents/webcomponentsjs/master/webcomponents.js"></script> | |
<link rel="import" href="https://cdn.rawgit.com/Polymer/polymer/v1.0.2/polymer.html"> | |
</head> | |
<body> | |
<template is="dom-bind" id="page-template"> | |
<template> | |
<select> | |
<option template repeat="[[arr]]">[[item]]</option> | |
</select> | |
</template> | |
</template> | |
<script> | |
document.querySelector('#page-template').arr = ['one', 'two', 'three']; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment