WebExtensionPropertyCollection
Contents
[
Hide
]WebExtensionPropertyCollection class
Represents the list of web extension properties.
class WebExtensionPropertyCollection;
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
get(number) | Gets the property of web extension by the index. |
get(string) | Gets the property of web extension. |
add(string, string) | Adds web extension property. |
removeAt(string) | Remove the property by the name. |
getCount() | Gets the number of elements contained in. |
isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
get(number)
Gets the property of web extension by the index.
get(index: number) : WebExtensionProperty;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Returns
The property of web extension.
get(string)
Gets the property of web extension.
get(name: string) : WebExtensionProperty;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of property. |
Returns
The property of web extension.
add(string, string)
Adds web extension property.
add(name: string, value: string) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of property. |
value | string | The value of property. |
Returns
The index of added property.
removeAt(string)
Remove the property by the name.
removeAt(name: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of the property. |
getCount()
Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;