PP.App.MessageInfo.showStatus

Syntax

PP.App.MessageInfo.showStatus(status, setup);

Parameters

status. PP.Application.MessageStatusEnum. Status type.

setup. Object. Additional settings of dialog box. They overlap basic settings. Optional parameter.

Description

The MessageInfo.showStatus method displays a dialog box with status.

Example

To execute the example, add links to the JS and CSS files in the HEAD tag:

Add the following script in the SCRIPT tag:

<script text="text/javascript">
    function Ready()   {
        // Create an object in code
        status = PP.Application.MessageStatusEnum.Success;
        // Display dialog box
        PP.App.MessageInfo.showStatus(status);
    };
</script>

Add the onload attribute in the BODY tag:

<body onload="Ready()">
</body>

After executing the example a dialog box with status is displayed.

See also:

PP.App