WipDomModel class

Implementation of WipDom that maintains and updates a model of the DOM based on incoming events.

Implemented types

Constructors

WipDomModel(WipDom _dom)

Properties

connection WipConnection
finalinherited
hashCode int
The hash code for this object.
no setterinherited
onAttributeModified Stream<AttributeModifiedEvent>
latefinal
onAttributeRemoved Stream<AttributeRemovedEvent>
latefinal
onCharacterDataModified Stream<CharacterDataModifiedEvent>
latefinal
onChildNodeCountUpdated Stream<ChildNodeCountUpdatedEvent>
latefinal
onChildNodeInserted Stream<ChildNodeInsertedEvent>
latefinal
onChildNodeRemoved Stream<ChildNodeRemovedEvent>
latefinal
onClosed Stream<WipDomain>
latefinalinherited
onDocumentUpdated Stream<DocumentUpdatedEvent>
latefinal
onSetChildNodes Stream<SetChildNodesEvent>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

eventStream<T>(String method, WipEventTransformer<T> transformer) Stream<T>
inherited
getAttributes(int nodeId) Future<Map<String, String>>
override
getDocument() Future<Node>
Unlike the standard WipDom.getDocument call, this will not reset the internal state of the debugger remote end when called multiple times on the same page.
override
getOuterHtml(int nodeId) Future<String>
inherited
hideHighlight() Future<void>
inherited
highlightNode(int nodeId, {Rgba? borderColor, Rgba? contentColor, Rgba? marginColor, Rgba? paddingColor, bool? showInfo}) Future<void>
inherited
highlightRect(int x, int y, int width, int height, {Rgba? color, Rgba? outlineColor}) Future<void>
inherited
moveTo(int nodeId, int targetNodeId, {int? insertBeforeNodeId}) Future<int>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
override
querySelector(int nodeId, String selector) Future<int>
inherited
querySelectorAll(int nodeId, String selector) Future<List<int>>
inherited
removeAttribute(int nodeId, String name) Future<void>
inherited
removeNode(int nodeId) Future<void>
inherited
requestChildNodes(int nodeId) Future<void>
inherited
requestNode(String objectId) Future<int>
inherited
resolveNode(int nodeId, {String? objectGroup}) Future<RemoteObject>
inherited
sendCommand(String method, {Map<String, dynamic>? params}) Future<WipResponse>
inherited
setAttributesAsText(int nodeId, String text, {String? name}) Future<void>
inherited
setAttributeValue(int nodeId, String name, String value) Future<void>
inherited
setNodeName(int nodeId, String name) Future<int>
inherited
setNodeValue(int nodeId, String value) Future<void>
inherited
setOuterHtml(int nodeId, String outerHtml) Future<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited