Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - showSoftkeysPage

Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - showSoftkeysPage

showSoftkeysPage

Description

Jumps to a specific page of softKeys (starting with 1), after calling setSoftkeysByList.

Parameters

Name

Required

Type

Default

Description

Name

Required

Type

Default

Description

label

Yes

string

 

Label to display above the key.

Examples

showSoftkeyPage after showSoftkeysByList

testWidget.setSoftkeysByList([     {'label' : 'key1', 'handler' : function () { }},     {'label' : 'key2', 'handler' : function () { }},     {'label' : 'key3', 'handler' : function () { }},     {'label' : 'key4', 'handler' : function () { }},     {'label' : 'key5', 'handler' : function () { }} ]); testWidget.showSoftkeyPage(2);

 

Return to Documentation Home I Return to Sangoma Support