Element.Matches
Element.Matches method
Determines whether the element matches the specified CSS selector.
public bool Matches(string selector)
| Parameter | Type | Description |
|---|---|---|
| selector | String | The selector. |
Return Value
true if the element matches the selector; otherwise, false.
See Also
- class Element
- namespace Aspose.Html.Dom
- assembly Aspose.HTML