Module: bajaux/container/wb/StringList


new (require("bajaux/container/wb/StringList"))()

A fake DOMStringList for use with the Clipboard in the Workbench
Web Browser.

See:

Members


<readonly> length :Number

The current size of the StringList.

Type:
  • Number

Methods


add(str)

Add a string to the list.

Parameters:
Name Type Description
str String

The string to add.


contains(str)

Returns true if the string is the list.

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)

Return an item from list via its index.

Parameters:
Name Type Description
index Number
Returns:

a String from the list.


remove(str)

Remove an item for the list.

Parameters:
Name Type Description
str String

The string to remove.