| description | Display a 'Yes' / 'No' confirmation dialog box. | ||
|---|---|---|---|
| metaLinks |
|
lvgl.confirm({settings})
The lvgl.confirm function uses only the settings shown below. The common settings shown on the API page are not used.
| Name | Type | Description | Default if not set |
|---|---|---|---|
| title | String | Text to be displayed in the header of the dialog box. | Empty string |
| message | String | Text to be displayed in the body of the dialog box | Empty string |
| confirm | Function | Called when the user taps the 'Yes' button. | nil |
| cancel | Function | Called when the user taps the 'No' button. | nil |
| Avail | Status | Comment | |
|---|---|---|---|
| BW radios | false | ||
| Color radios | true | active |
| EdgeTX version | Change |
|---|---|
| 2.11.0 | Introduced |