Skip to main content
variable hide
import { hide } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Hides all the elements specified.

Use NodeList.prototype.forEach() to apply display: none to each element specified.

type

<T extends HTMLElementLike>(...el: T[]) => unknown