Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 774 Bytes

information.md

File metadata and controls

49 lines (27 loc) · 774 Bytes

@serenity-is/corelib / information

Function: information()

information(message, onOk?, options?): Partial<Dialog>

Parameters

message

string

The message to display

onOk?

() => void

Callback for OK button click

options?

MessageDialogOptions

Additional options.

Returns

Partial<Dialog>

Deprecated

use informationDialog

See

ConfirmOptions

Example

informationDialog("Operation complete", () => { 
    // do something when OK is clicked
}

Defined in

src/q/dialogs-compat.ts:10