MutationObserver

MutationObserver

package js-html

Available on js

MutationObserver provides developers a way to react to changes in a DOM. It is designed as a replacement for Mutation Events defined in the DOM3 Events specification.

Documentation MutationObserver by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (mutationCallback:Array<MutationRecord> ‑> MutationObserver ‑> Void)

Throws:

null DOMError

Methods

disconnect ():Void

observe (target:Node, ?options:MutationObserverInit):Void

Throws:

null DOMError

takeRecords ():Array<MutationRecord>

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/MutationObserver.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部