In Dart why the code below (about MutationObserver) dose not work?

前端 未结 2 1595
盖世英雄少女心
盖世英雄少女心 2020-12-18 16:07

I modified one the Dart polymer example to test MutationObserver. It does not work! Any suggestion?

This is the HTML code:

   
2条回答
  •  甜味超标
    2020-12-18 16:53

    It doesn't appear that mutation observer events can cross the shadow boundary.

    If you put the