MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _removeVisualState

Function _removeVisualState

packages/core/ui/core/view-base/index.ts:1369–1375  ·  view source on GitHub ↗
(state: string)

Source from the content-addressed store, hash-verified

1367 }
1368
1369 public _removeVisualState(state: string): void {
1370 this.deletePseudoClass(state);
1371
1372 if (!this.cssPseudoClasses.size) {
1373 this.addPseudoClass(this.defaultVisualState);
1374 }
1375 }
1376
1377 /**
1378 * @deprecated Use View._addVisualState() and View._removeVisualState() instead.

Callers

nothing calls this directly

Calls 1

addPseudoClassMethod · 0.65

Tested by

no test coverage detected