
## WebExtensionTaskPaneCollection class

Represents the list of task pane.

```javascript
class WebExtensionTaskPaneCollection implements Iterable<WebExtensionTaskPane>;
```


## Methods

| Method | Description |
| --- | --- |
| [get(number)](#get-number-)| Gets task pane by the specific index. |
| [add()](#add--)| Adds task pane. |
| [getCount()](#getCount--)| <b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in. |
| [isNull()](#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) {#get-number-}

Gets task pane by the specific index.

```javascript
get(index: number) : WebExtensionTaskPane;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | number | The index. |

**Returns**

The task pane.

### add() {#add--}

Adds task pane.

```javascript
add() : number;
```


**Returns**

The index.

### getCount() {#getCount--}

<b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in.

```javascript
getCount() : number;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



