Dropdowns
A collection of dropdowns.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Dropdown add( Object withProperties )
Creates a new Dropdown.
Parameters
Type Name Description 
Number count()
Displays the number of elements in the Dropdown.
Dropdown item( Mixed index )
Returns the Dropdown with the specified index or name.
Parameters
Type Name Description 
Dropdown itemByID( Number id )
Returns the Dropdown with the specified ID.
Parameters
Type Name Description 
Dropdown itemByRange( Mixed from, Mixed to )
Returns the Dropdowns within the specified range.
Parameters
Type Name Description 
Dropdown firstItem()
Returns the first Dropdown in the collection.
Dropdown lastItem()
Returns the last Dropdown in the collection.
Dropdown middleItem()
Returns the middle Dropdown in the collection.
Dropdown previousItem( Dropdown obj )
Returns the Dropdown with the index previous to the specified index.
Parameters
Type Name Description 
Dropdown nextItem( Dropdown obj )
Returns the Dropdown whose index follows the specified Dropdown in the collection.
Parameters
Type Name Description 
Dropdown anyItem()
Returns any Dropdown in the collection.
Dropdown everyItem()
Returns every Dropdown in the collection.
String toSource()
Generates a string which, if executed, will return the Dropdown.
Dropdown []( Number index )
Returns the Dropdown with the specified index.
Parameters
Type Name Description