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

Method display

packages/react-aria/src/collections/Document.ts:388–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386 let element = this;
387 return {
388 get display() {
389 return element.isHidden ? 'none' : '';
390 },
391 set display(value) {
392 let isHidden = value === 'none';
393 if (element.isHidden !== isHidden) {

Callers

nothing calls this directly

Calls 1

markDirtyMethod · 0.80

Tested by

no test coverage detected