CancelLabelButton : string ux
Cancel label button on the confirm dialog
This is trigger action for showing an ok/cancel dialog. Only available on iOS or Android
The following example shows how to use it:
<JavaScript>
module.exports = {
handler: function(data) {
if (data.buttonLabel == 'Yes'){
console.log("yes button clicked")
} else if (data.buttonLabel == 'Cancel'){
console.log("cancel button clicked")
}
}
};
</JavaScript>
<Panel>
<Button Text="Display Alert" Alignment="Center">
<Clicked>
<ShowConfirm Message="Are you sure want to logout?" OkLabelButton="Yes" CancelLabelButton="Cancel" Handler="{handler}"/>
</Clicked>
</Button>
</Panel>
Cancel label button on the confirm dialog
Optionally specifies a handler that will be called when this trigger is pulsed.
String message to show in the dialog
Ok label button on the confirm dialog
Creates a new ShowConfirm
The title of the confirm dialog
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide