Skip to main content
Module

x/cav/dom.ts>$$

A server framework for Deno
Go to Latest
function $$
import { $$ } from "https://deno.land/x/cav@0.2.0-alpha.7/dom.ts";

Shorthand for document.querySelectorAll. If a second parent node is provided, it will be searched instead of the document.

Type Parameters

optional
T extends Element = HTMLElement

Parameters

selector: string
optional
parent: ParentNode = [UNSUPPORTED]

Returns

NodeListOf<T>