Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PluginArray

Package version

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.

Hierarchy

  • PluginArray

Indexable

[index: number]: Plugin

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

Properties

Methods

Properties

length

length: number

Methods

item

  • item(index: number): Plugin | null
  • Parameters

    • index: number

    Returns Plugin | null

namedItem

  • namedItem(name: string): Plugin | null
  • Parameters

    • name: string

    Returns Plugin | null

refresh

  • refresh(reload?: undefined | false | true): void
  • Parameters

    • Optional reload: undefined | false | true

    Returns void

Generated using TypeDoc