目录

AlertAction

The action to be taken when the alert dialog is closed.

type AlertAction = 'ok' | 'show';

Types 

'ok' 

Close the dialog as the “OK” button is clicked.

'show' 

Show the standard JavaScript alert dialog.