@serenity-is/corelib / information
information(
message
,onOk
?,options
?):Partial
<Dialog
>
string
The message to display
() => void
Callback for OK button click
Additional options.
Partial
<Dialog
>
use informationDialog
ConfirmOptions
informationDialog("Operation complete", () => {
// do something when OK is clicked
}