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

Method display

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

markDirtyMethod · 0.80

Tested by

no test coverage detected