The selector string.
The tag name.
Creates a new Selector instance.
The selector string.
The tag name.
The selector string to parse.
The class of the tag.
OptionalidThe ID of the selector.
ReadonlytagThe tag name of the selector.
Returns the string representation of the selector.
The string representation of the selector.
Represents a CSS-type selector. It can be a tag name, an ID selector, a class selector, or a combination of those.
Example