Module

x/evt/lib/index.ts

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

Used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods.

Index Signatures

[index: number]: Plugin

Properties

readonly
length: number

Methods

item(index: number): Plugin | null
namedItem(name: string): Plugin | null
refresh(reload?: boolean): void