PP.App.MessageInfo.show

Syntax

PP.App.MessageInfo.show(settings);

Parameters

settings. Object. Dialog box settings, may contain properties of the PP.Ui.Dialog class.

Description

The MessageInfo.show method displays a random dialog box with information.

Example

Executing the example requires that the HTML page contains links to the PP.js, PP.Metabase.js, PP.App.js and the PP.css and PP.App.css styles files.

// Create error information
fault = {Code: 0, Message: "Error"}
// Display dialog box
PP.App.MessageInfo.show(fault);

After executing the example a dialog box with error opens.

See also:

PP.App