All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.dom.MutationEvent Maven / Gradle / Ivy

package elemental2.dom;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class MutationEvent extends Event {
  public int attrChange;
  public String attrName;
  public String newValue;
  public String prevValue;
  public Node relatedNode;

  public MutationEvent() {
    // This call is only here for java compilation purpose.
    super((String) null, (EventInit) null);
  }

  public native void initMutationEvent(
      String typeArg,
      boolean canBubbleArg,
      boolean cancelableArg,
      Node relatedNodeArg,
      String prevValueArg,
      String newValueArg,
      String attrNameArg,
      int attrChangeArg);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy