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

Method constructor

packages/react-aria/src/collections/Document.ts:45–47  ·  view source on GitHub ↗
(ownerDocument: Document<T, any>)

Source from the content-addressed store, hash-verified

43 ownerDocument: Document<T, any>;
44
45 constructor(ownerDocument: Document<T, any>) {
46 this.ownerDocument = ownerDocument;
47 }
48
49 *[Symbol.iterator](): Iterator<ElementNode<T>> {
50 let node = this.firstChild;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected