Phone API Reference - UI Classes (Widgets) - Input - cycleModes
cycleModes
Description
Sets up a softkey that cycles through a set of modes. Can be any of "normal", "email", "ip", or "numeric".
Basic Example:Â
textObj.cycleModes(modesArray);
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
modes | Yes | array | Â | Array of modes. Can be any of "normal", "email", "ip", or "numeric". |
Examples
cycleModes for a softkey that cycles numeric and normal
theInput.cycleModes(['numeric', 'normal']);
Â