2016-02-20 59 views
0

我有哪裏DOM的變化不會觸發一個問題(或不被evengListener抓到)在DOM綁定模板:DOM的變化沒有啓動起來DOM綁定模板

<body> 

    <template id="t" is="dom-bind"> 
    <h1>Hello, it is:</h1> 
    <p>{{name}}</p> 
    <input value={{name::input}} /> 
    </template> 

    <script> 
    var t = document.querySelector('#t'); 
    t.addEventListener('dom-change', function(e){ 
     console.log("READY!"); 
    }) 
    </script> 

</body> 

的JSBin是在這裏:http://jsbin.com/wumaso/edit?html,console,output

控制檯應該顯示 「準備好了!」但它不......任何提示? 請注意,例如是基本相同the example in the guide

+0

該事件是當標籤改變孩子,但你的