com.hubspot.chrome.devtools.client.core.dom.ShadowRootPoppedEvent Maven / Gradle / Ivy
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 popped from the element.
*/
public final class ShadowRootPoppedEvent extends Event {
private NodeId hostId;
private NodeId rootId;
@JsonCreator
public ShadowRootPoppedEvent(@JsonProperty("hostId") NodeId hostId,
@JsonProperty("rootId") NodeId rootId) {
this.hostId = hostId;
this.rootId = rootId;
}
public NodeId getHostId() {
return hostId;
}
public NodeId getRootId() {
return rootId;
}
}