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

Function removeSystemCssClass

packages/core/css/system-classes.ts:23–32  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

21 }
22
23 export function removeSystemCssClass(value: string): string {
24 const index = cssClasses.indexOf(value);
25 let removedElement;
26
27 if (index > -1) {
28 removedElement = cssClasses.splice(index, 1);
29 }
30
31 return removedElement;
32 }
33
34 export function getModalRootViewCssClass(): string {
35 return MODAL_ROOT_VIEW_CSS_CLASS;

Callers 1

Calls 2

indexOfMethod · 0.80
spliceMethod · 0.80

Tested by

no test coverage detected