package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev
# Functions
Collects class names for the node with given id and all of it's child nodes.
Creates a deep copy of the specified node and places it into the target container before the
given anchor.
Describes node given its id, does not require domain to be enabled.
Disables DOM agent for the given page.
Discards search results from the session with the given id.
Enables DOM agent for the given page.
Focuses the given element.
Returns attributes for the specified node.
Returns boxes for the given node.
Returns the query container of the given node based on container query
conditions: containerName, physical, and logical axes.
Returns quads that describe node position on the page.
Returns the root DOM node (and optionally the subtree) to the caller.
Returns file information for the given
File wrapper.
Returns iframe node that owns iframe with the given domain.
Returns node id at given location.
Finds nodes with a given computed style in a subtree.
Gets stack traces associated with a Node.
Returns node's HTML markup.
Returns the descendants of a container query container that have
container queries against this container.
Returns the id of the nearest ancestor that is a relayout boundary.
Returns search results from given `fromIndex` to given `toIndex` from the search with the given
identifier.
Returns NodeIds of current top layer elements.
Hides any highlight.
Highlights DOM node.
Highlights given rectangle.
Marks last undoable state.
Moves node into the new container, places it before the given anchor.
Searches for a given string in the DOM tree.
Requests that the node is sent to the caller given its path.
Requests that a batch of nodes is sent to the caller given their backend node ids.
Executes `querySelector` on a given node.
Executes `querySelectorAll` on a given node.
Re-does the last undone action.
Removes attribute with given name from an element with given id.
Removes node with given id.
Requests that children of the node with given id are returned to the caller in form of
`setChildNodes` events where not only immediate children are retrieved, but all children down to
the specified depth.
Requests that the node is sent to the caller given the JavaScript node object reference.
Resolves the JavaScript node object for a given NodeId or BackendNodeId.
Scrolls the specified rect of the given node into view if not already visible.
Sets attributes on element with given id.
Sets attribute for an element with given id.
Sets files for the given file input element.
Enables console to refer to the node with given id via $x (see Command Line API for more details
$x functions).
Sets node name for a node with given id.
Sets if stack traces should be captured for Nodes.
Sets node value for a node with given id.
Sets node HTML markup, returns new node id.
Undoes the last performed action.
# Structs
Fired when `Element`'s attribute is modified.
Fired when `Element`'s attribute is removed.
Backend node with a friendly name.
Box model.
Mirrors `DOMCharacterDataModified` event.
Fired when `Container`'s child node count has changed.
Mirrors `DOMNodeInserted` event.
Mirrors `DOMNodeRemoved` event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*/.
No description provided by the author
No description provided by the author
No description provided by the author
Called when distribution is changed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fired when `Element`'s inline style is modified via a CSS property modification.
No description provided by the author
No description provided by the author
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
No description provided by the author
No description provided by the author
Called when a pseudo element is added to an element.
Called when a pseudo element is removed from an element.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Rectangle.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A structure holding an RGBA color.
No description provided by the author
No description provided by the author
No description provided by the author
Fired when backend wants to provide client with the missing DOM structure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Called when shadow root is popped from the element.
Called when shadow root is pushed into the element.
CSS Shape Outside details.
# Interfaces
Fired when `Document` has been totally updated.
Called when top layer elements are changed.
# Type aliases
Unique DOM node identifier used to reference a node that may not have been pushed to the
front-end.
Document compatibility mode.
ContainerSelector logical axes
*/.
Unique DOM node identifier.
ContainerSelector physical axes
*/.
Pseudo element type.
An array of quad vertices, x immediately followed by y for each point, points clock-wise.
Shadow root type.