Closed ichan-mb closed 3 years ago
This adds trigger action for showing a native alert dialog.
Examples:
<JavaScript> module.exports = { handler: function(data) { if (data.buttonLabel == 'Yes'){ console.log("yes button clicked") } if (data.buttonLabel == 'No'){ console.log("no button clicked") } } }; </JavaScript> <StackPanel ItemSpacing="10'> <Button Text="Display Alert" Alignment="Center"> <Clicked> <ShowAlert Message="Hello world!" OkLabelButton="Yes" Handler="{handler}"/> </Clicked> </Button> <Button Text="Display Confirm" Alignment="Center"> <Clicked> <ShowConfirm Message="Are you sure want to logout?" OkLabelButton="Yes" CancelLabelButton="No" Handler="{handler}"/> </Clicked> </Button> </StackPanel>
This PR contains:
This adds trigger action for showing a native alert dialog.
Examples:
This PR contains: