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

x/deno/cli/js/mixins/dom_iterable.ts>DomIterableMixin

A modern runtime for JavaScript and TypeScript.
Go to Latest
function DomIterableMixin
import { DomIterableMixin } from "https://deno.land/x/deno@v0.28.0/cli/js/mixins/dom_iterable.ts";

Mixes in a DOM iterable methods into a base class, assumes that there is a private data iterable that is part of the base class, located at [dataSymbol]. TODO Don't expose DomIterableMixin from "deno" namespace.

Type Parameters

K
V
TBase extends Constructor

Parameters

Base: TBase
dataSymbol: symbol

Returns

TBase & Constructor<DomIterable<K, V>>