Skip to main content
Module

x/evt/lib/types/lib.dom.ts>PluginArray

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

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