docs » cp.choices
Choices Module.
- Functions - API calls offered directly by the extension
- new
- Methods - API calls which can only be made on an object returned by a constructor
- getChoices
- new
Signature | cp.choices.new(type) -> choices |
---|---|
Type | Function |
Description | Creates a new cp.choices instance for the specified type. |
Parameters |
|
Returns |
|
Signature | cp.choices:getChoices() -> array of choices |
---|---|
Type | Method |
Description | Returns the array of choices that have been added to this instance. |
Parameters |
|
Returns |
|
Signature | cp.choices:new(choiceType) -> choices.builder |
---|---|
Type | Method |
Description | Adds a new choice with the specified. Additional settings |
Parameters |
|
Returns |
|