Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.HTMLFormControlsCollection

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLFormControlsCollection
implements HTMLCollectionBase
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { HTMLFormControlsCollection } = dom;

A collection of HTML form control elements.

Methods

namedItem(name: string): RadioNodeList | Element | null

Returns the item with ID or name name from the collection.

If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.