lvgl.confirm

Display a 'Yes' / 'No' confirmation dialog box.

Syntax

lvgl.confirm({settings})

Parameters

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

API Status

Avail
Status
Comment

BW radios

Color radios

active

Change log

EdgeTX version
Change

2.11.0

Introduced