Interface PluginArray

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.

MDN Reference

interface PluginArray {
    length: number;
    item(index: number): null | Plugin;
    namedItem(name: string): null | Plugin;
    refresh(): void;
    [index: number]: Plugin;
}

Indexable

Properties

Methods

Properties

length: number

Methods

  • Parameters

    • index: number

    Returns null | Plugin

  • Parameters

    • name: string

    Returns null | Plugin

  • Returns void