Function: parseCssClassesFromString()
parseCssClassesFromString(
classString,filter?):string[]
Defined in: src/sdk/components/FSComponent.ts:844
Parses a space-delimited CSS class string into an array of CSS classes.
Parameters
| Parameter | Type | Description |
|---|---|---|
classString | string | A space-delimited CSS class string. |
filter? | (cssClass) => boolean | A function which filters parsed classes. For each class, the function should return true if the class should be included in the output array and false otherwise. |
Returns
string[]
An array of CSS classes derived from the specified CSS class string.