MCPcopy Create free account
hub / github.com/BetaSu/big-react / hideInstance

Function hideInstance

packages/react-dom/src/hostConfig.ts:72–75  ·  view source on GitHub ↗
(instance: Instance)

Source from the content-addressed store, hash-verified

70 : setTimeout;
71
72export function hideInstance(instance: Instance) {
73 const style = (instance as HTMLElement).style;
74 style.setProperty('display', 'none', 'important');
75}
76
77export function unhideInstance(instance: Instance) {
78 const style = (instance as HTMLElement).style;

Callers 1

hideOrUnhideAllChildrenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected