Text applied to action button in a confirmation view. The label should be informative and clear to the users what action will be taken when the button is tapped.
Here is an example for confirming an action:
label (Book room) label {
if (exists(action.receipt)) {
macro (CancelOrder)
}
}
Here is an example for aborting an action:
label (Keep looking) label {
macro (KeepIt)
}
| macro optional | Defines a layout, a portion of a layout, or a dialog with a macro |
| template optional | Text to be passed |
| template-macro optional | Encapsulates dialog logic that normally would lead to duplication |
Copyright 2025 Samsung All rights reserved