Universeorange.com/Docs/
ready(() => {
let node = select(String selector);
});
String selectorThe 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-06
© 2021 universeorange.com