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

com.hubspot.chrome.devtools.client.core.dom.ShadowRootPushedEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.dom;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;

/**
 * Called when shadow root is pushed into the element.
 */
public final class ShadowRootPushedEvent extends Event {
  private NodeId hostId;

  private Node root;

  @JsonCreator
  public ShadowRootPushedEvent(@JsonProperty("hostId") NodeId hostId,
      @JsonProperty("root") Node root) {
    this.hostId = hostId;
    this.root = root;
  }

  public NodeId getHostId() {
    return hostId;
  }

  public Node getRoot() {
    return root;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy