t_wの輪郭

Feedlyでフォローするボタン
9-EDD2
技術情報を掘るときに、日本語で検索しても出てこないんだろうなという諦観があるJavaScriptでevent handlerを実装する標準的方法「[Javascript] イベント駆動型の設計ができるEventEmitterに入門」customeElementWatcherEventHandler.webidl

customeElementWatcher

2020/12/27 13:38:00

https://searchfox.org/mozilla-central/source/devtools/server/actors/targets/browsing-context.js#357

/
* The CustomElementWatcher can be used to be notified if a custom element definition
* is created for a node.
*
* When a custom element is defined for a monitored name, an "element-defined" event is
* fired with the following Object argument:
* - String name: name of the custom element defined
* - Set Set of impacted node actors
*/
class CustomElementWatcher extends EventEmitter {
constructor(chromeEventHandler) {