@nextcloud/dialogs
    Preparing search index...

    Interface PluginArray

    The PluginArray interface is used to store a list of Plugin objects; it's returned by the 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;
        "[iterator]"(): ArrayIterator<Plugin>;
        item(index: number): Plugin | null;
        namedItem(name: string): Plugin | null;
        refresh(): void;
        [index: number]: Plugin;
    }

    Indexable

    Index

    Properties

    length: number

    Methods

    • Parameters

      • index: number

      Returns Plugin | null

    • Parameters

      • name: string

      Returns Plugin | null

    • Returns void