The selector string.
The tag name.
Creates a new Selector instance.
The selector string to parse.
The class of the tag.
Optional
idThe ID of the selector.
Readonly
tagThe tag name of the selector.
Returns the string representation of the selector.
The string representation of the selector.
Generated using TypeDoc
Represents a CSS-type selector. It can be a tag name, an ID selector, a class selector, or a combination of those.
Example