2016-03-24 38 views
0

için Merhaba Bir polimer açılır öğesi oluşturmak için feryat kodu kullanıyorum. IE dışında tüm tarayıcılarda sorunsuz çalışıyor.Polymer dom tekrarlama Seçeneği Seçeneği IE

meyve-list.html

<link href="https://rawgit.com/polymer/polymer/0.8-preview/polymer.html" rel="import"> 

<dom-module id="fruits-list"> 
    <template> 
     <select> 
      <template is="dom-repeat" items="{{employees}}"> 
      <option value="{{item.value}}">{{item.text}}</option> 
      </template> 
     </select> 
    </template> 
    <script> 

    Polymer({ 
     is: 'fruits-list', 
     ready: function() { 
     this.employees = [ 
      {value: 'one', text: 'apple'}, 
      {value: 'two', text: 'banana'}, 
      {value: 'three', text: 'orange'} 
     ]; 
     } 
    }); 
    </script> 
</dom-module> 

index.html

<html> 
    <head> 
    <script src="https://rawgit.com/webcomponents/webcomponentsjs/master/webcomponents-lite.js"></script> 
    <link rel="import" href="x-example.html" /> 
    </head> 
    <body> 
    <fruits-list></fruits-list> 
    </body> 
</html> 

cevap