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

Function deletePseudoClass

packages/core/ui/core/view-base/index.ts:877–885  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

875 */
876 @profile
877 public deletePseudoClass(name: string): void {
878 const allStates = this.getAllAliasedStates(name);
879 for (let i = 0, length = allStates.length; i < length; i++) {
880 if (this.cssPseudoClasses.has(allStates[i])) {
881 this.cssPseudoClasses.delete(allStates[i]);
882 this.notifyPseudoClassChanged(allStates[i]);
883 }
884 }
885 }
886
887 private bindingContextChanged(data: PropertyChangeData): void {
888 this.bindings.get('bindingContext').bind(data.value);

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected