Jump to content

Information messages


Back

Recommended Posts

Informational messages allow you to draw the user's attention to this or that information. There are several types of information messages:

An error is an error while performing an action.
Success (success) - the action was completed successfully.
Warning - a warning when an action is performed.
Informing (information) - informing about any status or action.
In order to make a message informational, it must be assigned the appropriate class. Let's consider informational messages and their classes in more detail.

The message that displays the error has the ipsMessage_error class:

ips4_docMessageInfo_0001.thumb.png.289d53c3a8093db7b22fb186086c6793.png.17b102ae86a4810336fa58bb07dc8cd8.png

The message indicating the success of the operation has the ipsMessage_success class:

ips4_docMessageInfo_0001.thumb.png.289d53c3a8093db7b22fb186086c6793.png.ceaacd410e931c621d9bc6810b65ca0d.png

The message that displays the warning has the ipsMessage_warning class:

ips4_docMessageInfo_0001.thumb.png.289d53c3a8093db7b22fb186086c6793.png.f8a7e540c194851b1788040ecb080ac6.png

The message that displays information has the ipsMessage_info class:

ips4_docMessageInfo_0001.thumb.png.289d53c3a8093db7b22fb186086c6793.png.e68c6ea910e106867ccc4b82cf74134c.png

<div class='ipsMessage ipsMessage_error'>
  <span class='ipsMessage_code'>12345</span>
  This is an error message.
</div>

This code will output the following message:

ips4_docMessageInfo_0001.thumb.png.289d53c3a8093db7b22fb186086c6793.png.a0265c07fed855c8bc4817811cccdd1f.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.