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

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

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