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!!!'
}); |
Â