MessageBar presents the application messages to the user. The control has a set of configurable properties:
maxToasted: Maximum number of messages allowed to be raised at once before being announced via a single combined multi message.maxListed: Maximum number of messages that shall be shown at once in the drop down list. In case of a large amount of messages, a vertical scroll bar is provided.anchorId: Element ID upon which the MessageBar is initially positioned.anchorSnapPoint:begin top is set by default.The MessageBar can then be addressed by applications via the following APIs:
addMessages: (Array of) Messages to be raised to the user.deleteMessages: (Array of) Message IDs to be dropped by the user.deleteAllMessages: To remove all currently raised messages.To give more examples, the MessageBar control provides also the following features:
In the example, click twice on the add MeliMelo button to display a message area with an error, a warning, and a success message text.
| Message Area: |