Constructor
new BootstrapFormSelect(optionsopt)
Constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
Extends
Methods
addToSelect(arguments) → {FormSelect}
Add options to the select
Parameters:
Name | Type | Description |
---|---|---|
arguments |
* | Either an object of key/value pairs, where the key is the option value and the value is the string within the tags, or a key and value as two parameters to add one option |
- Inherited From:
- Source:
Returns:
- Type
- FormSelect
selectOption(val, triggeropt) → {FormSelect}
Select an option
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
val |
string | |||
trigger |
boolean |
<optional> |
true | whether to fire change event |
- Inherited From:
- Source:
Returns:
- Type
- FormSelect