MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / normalizeCssStateName

Function normalizeCssStateName

packages/core/src/data/codeblocks.ts:7–8  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

5}
6
7const normalizeCssStateName = (name: string): string =>
8 name.replace(/^:+/, "").toLowerCase();
9
10const normalizeJsEventName = (name: string): string =>
11 name.replace(/^on/i, "").toLowerCase();

Callers 2

codeblocks.tsFile · 0.85
isCssStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected