Skip to main content
Module

x/evt/mod.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.3/mod.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.