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

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']);

 

Return to Documentation Home I Return to Sangoma Support