Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - onsoftkey[key]
Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - onsoftkey[key]
onsoftkey[key]
Description
Set an event handler for one of the four softkeys. Replace [key] with the corresponding value of 1 - 4 (left to right).
Basic Example:
exampleWidget.onsoftkey1 = function () { util.debug('softkey 1 pressed'); }; |