Skip to main content

Function: findClassAttributeFragmentMatch()

findClassAttributeFragmentMatch(selectorContainer: Readonly<SelectorContainer>, fragments: Iterable<string>, __namedParameters?: ClassAttributeFragmentMatchOptions): Readonly<{ attributeSelector: string; fragment: string; }> | undefined

Defined in: _internal/selector-parser-utils.ts:144

Find the first class attribute selector that matches one curated fragment.

Parametersโ€‹

selectorContainerโ€‹

Readonly<SelectorContainer>

fragmentsโ€‹

Iterable<string>

__namedParameters?โ€‹

ClassAttributeFragmentMatchOptions = {}

Returnsโ€‹

Readonly<{ attributeSelector: string; fragment: string; }> | undefined