WebExtensionCollection
Contents
[
Hide
]WebExtensionCollection class
Represents the list of web extension.
class WebExtensionCollection;
Methods
Method | Description |
---|---|
get(number) | Gets web extension by the specific index. |
add() | Adds a web extension. |
addWebVideoPlayer(string, boolean, number, number) | Add a web video player into exel. |
removeAt(number) | Remove web extension by the index. |
getCount() | Gets the number of elements contained in. |
isNull() | Checks whether the implementation object is null. |
get(number)
Gets web extension by the specific index.
get(index: number) : WebExtension;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Returns
The web extension.
add()
Adds a web extension.
add() : number;
Returns
The index.
addWebVideoPlayer(string, boolean, number, number)
Add a web video player into exel.
addWebVideoPlayer(url: string, autoPlay: boolean, startTime: number, endTime: number) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
url | string | |
autoPlay | boolean | Indicates whether auto playing the video. |
startTime | number | The start time in unit of seconds. |
endTime | number | The end time in unit of seconds. |
removeAt(number)
Remove web extension by the index.
removeAt(index: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
getCount()
Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;