Skip to main content

Module api

Module api 

Source
Expand description

CSS selector public API functions.

Functionsยง

compile
Compile CSS selector with options and root element.
compile_experimental
Experimental internal compilation (convert + general).
compile_token
Compile a CSS selector token.
compile_unsafe
Compile CSS selector without safety checks.
is
Check if the element matches the CSS selector.
prepare_context
Prepare selection context.
select_all
Select all elements matching the CSS selector.
select_one
Select the first element matching the CSS selector.