Phone API Reference - UI Extended - genericMenu.updateOptionText
genericMenu.updateOptionText
Description
Change the text for a specific menu entry.
Basic Example:
genericMenu.updateOptionText(parameters) |
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
row | Yes | integer |
| The row to update - row numbers begin at 0. |
text | Yes | string |
| The new text for the row. |
Examples
genericMenu.updateOptionText sets first row text to 'New Text'
genericMenu.updateOptionText({
'row' : 0,
'text' : 'New Text!!!'
}); |