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.

NameTypeDescriptionDefault 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

AvailStatusComment

BW radios

Color radios

active

Change log

EdgeTX versionChange

2.11.0

Introduced