Universeorange.com/Docs/
ready(() => {
let node = select(String selector);
});
String selector
The selector to select the element or elements.
The selector must be a valid CSS selector string.
Multiple selectors may be specified by separating them using commas.
ready(() => {
let title = select('h1');
title.addClass('title');
});
Console F12
Inspecting the element shows the
<h1>
has a class title<h1 class="title">
.
Last modified: 2021-06-07
© 2021 universeorange.com