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

Function pushToSystemCssClasses

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

Source from the content-addressed store, hash-verified

12 }
13
14 export function pushToSystemCssClasses(value: string): number {
15 const index = cssClasses.indexOf(value);
16 if (index == -1) {
17 cssClasses.push(value);
18 }
19
20 return cssClasses.length;
21 }
22
23 export function removeSystemCssClass(value: string): string {
24 const index = cssClasses.indexOf(value);

Callers 1

pushToRootViewCssClassesFunction · 0.85

Calls 2

indexOfMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected