-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
This works on chrome, safari 8 and firefox, but no in ie11
To test it use this simple html file
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Test</title>
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="bower_components/polymer/polymer.html">
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
}
</style>
</head>
<body>
<template is="dom-bind" id="app">
<select>
<template is="dom-repeat" items="{{options}}" as="o">
<option value="{{o}}">{{o}}</option>
</template>
</select>
</template>
<script>
(function (document) {
'use strict';
var app = document.querySelector('#app');
app.options = ['one', 'two'];
})(document);
</script>
</body>
</html>Reactions are currently unavailable