Class
HtmlCssSelectorList
OfficeIMO.Html.Css
A parsed comma-separated selector list whose members can match the owned DOM.
Inheritance
- object
- HtmlCssSelectorList
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Methods
Matches 2 overloads
public bool Matches(HtmlElement element) #Matches when any selector in the list matches the element.
Parameters
- element OfficeIMO.Html.Dom.HtmlElement
Returns
boolpublic bool Matches(HtmlElement element, CancellationToken cancellationToken) #Matches when any selector in the list matches, observing cancellation while traversing the tree.
Parameters
- element OfficeIMO.Html.Dom.HtmlElement
- cancellationToken System.Threading.CancellationToken
Returns
boolInherited Methods
Properties
public IReadOnlyList<HtmlCssSelector> Selectors { get; } #Selectors in authored order.