MCPcopy Index your code
hub / github.com/adobe/react-spectrum / getDialog

Method getDialog

packages/@react-aria/test-utils/src/dialog.ts:152–154  ·  view source on GitHub ↗

* Returns the dialog if present.

()

Source from the content-addressed store, hash-verified

150 * Returns the dialog if present.
151 */
152 getDialog(): HTMLElement | null {
153 return this._dialog && document.contains(this._dialog) ? this._dialog : null;
154 }
155}

Callers 5

Dialog.test.jsFile · 0.80
Combobox.test.tsxFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected