Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PluginArray

deprecated

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.

interface PluginArray {
[index: number]: Plugin;
readonly length: number;
[[Symbol.iterator]](): IterableIterator<Plugin>;
item(index: number): Plugin | null;
namedItem(name: string): Plugin | null;
refresh(): void;
}
var PluginArray: {
prototype: PluginArray;
new (): PluginArray;
}
;

§Index Signatures

§
[index: number]: Plugin

§Properties

§
readonly length: number
[src]

§Methods

§
[[Symbol.iterator]](): IterableIterator<Plugin>
[src]
§
item(index: number): Plugin | null
[src]
§
namedItem(name: string): Plugin | null
[src]
§
refresh(): void
[src]