new (require("bajaux/container/wb/StringList"))()
- Description:
A fake DOMStringList for use with the Clipboard in the Workbench
Web Browser.
- Source:
- See:
Members
(readonly) length :Number
- Description:
The current size of the StringList.
- Source:
The current size of the StringList.
Type:
- Number
Methods
add(str)
- Description:
Add a string to the list.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
str |
String | The string to add. |
contains(str) → {Boolean}
- Description:
Returns true if the string is the list.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
str |
String | The String to query the list with. |
Returns:
true if the string is in the list.
- Type
- Boolean
item(index)
- Description:
Return an item from list via its index.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
index |
Number |
Returns:
a String from the list.
remove(str)
- Description:
Remove an item for the list.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
str |
String | The string to remove. |