WebExtensionTaskPaneCollection
Contents
[
Hide
]WebExtensionTaskPaneCollection class
Represents the list of task pane.
class WebExtensionTaskPaneCollection implements Iterable<WebExtensionTaskPane>;
Methods
| Method | Description |
|---|---|
| get(number) | Gets task pane by the specific index. |
| add() | Adds task pane. |
| getCount() | @deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in. |
| isNull() | Checks whether the implementation object is null. |
[Symbol.iterator](): Iterator<WebExtensionTaskPane>
Returns an iterator over the items in the collection. Enables use of for...of, spread syntax, and Array.from().
get(number)
Gets task pane by the specific index.
get(index: number) : WebExtensionTaskPane;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index. |
Returns
The task pane.
add()
Adds task pane.
add() : number;
Returns
The index.
getCount()
@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;