Selector
SniperJs provides a simple, expressive way to query and manipulate HTML elements using familiar CSS selector syntax.
Syntax
Description
Last updated
SniperJs provides a simple, expressive way to query and manipulate HTML elements using familiar CSS selector syntax.
Last updated
$('input').value;
$('main > div*').classList.add('active'); //adds class of active to all the matched element