MCPcopy Create free account
hub / github.com/adobe/react-spectrum / markDirty

Method markDirty

packages/react-aria/src/collections/Document.ts:465–467  ·  view source on GitHub ↗
(node: BaseNode<T>)

Source from the content-addressed store, hash-verified

463 }
464
465 markDirty(node: BaseNode<T>): void {
466 this.dirtyNodes.add(node);
467 }
468
469 private addNode(element: ElementNode<T>): void {
470 if (element.isHidden || element.node == null) {

Callers 11

firstChildMethod · 0.80
lastChildMethod · 0.80
previousSiblingMethod · 0.80
nextSiblingMethod · 0.80
parentNodeMethod · 0.80
appendChildMethod · 0.80
removeChildMethod · 0.80
indexMethod · 0.80
getMutableNodeMethod · 0.80
displayMethod · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected