Constructor
new FormSelect(label, options)
Parameters:
Name | Type | Description |
---|---|---|
label |
string | as HTML code |
options |
Array.<string> |
Classes
Methods
onChange(fun) → {FormSelect}
Binds a function called on change event.
Parameters:
Name | Type | Description |
---|---|---|
fun |
function |
Returns:
this
- Type
- FormSelect