I want to use widget button click to show alert
What type of alert?
for log, use: console.log();
for success message in app, you can create success page .
There is a alert widget in this example:
You can add this widget and use it.
I want to use action get button to show window alert