Documentation ¶
Overview ¶
The cascadia package is an implementation of CSS selectors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
A Selector is a function which tells whether a node matches or not.
func Compile ¶
Compile parses a selector and returns, if successful, a Selector object that can be used to match against html.Node objects.
func MustCompile ¶
MustCompile is like Compile, but panics instead of returning an error.
Click to show internal directories.
Click to hide internal directories.