css_class_helpers.ts view source
(contents: string, extractors?: CssExtractor[]): Set<string> Returns a Set of CSS classes from a string of HTML/Svelte/JS/TS content. Handles class attributes, directives, and various forms of CSS class declarations.
contents
type
stringextractors
type
CssExtractor[] default
CSS_CLASS_EXTRACTORSreturns
Set<string>