Handler : AlertHandler (object, AlertArgs) ux
Optionally specifies a handler that will be called when this trigger is pulsed.
This is trigger action for showing native alert dialog with a single button. 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")
}
}
};
</JavaScript>
<Panel>
<Button Text="Display Alert" Alignment="Center">
<Clicked>
<ShowAlert Message="Hello world!" OkLabelButton="Yes" Handler="{handler}"/>
</Clicked>
</Button>
</Panel>
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 alert dialog
Creates a new ShowAlert
The title of the alert dialog
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide