kor TürkçeGitHub

Message

Shows contextual feedback directly in the page.

kor/ui/MessageSource

When to use

  • Keep an actionable warning or result next to the affected controls.

Examples

A confirmation message

Loading the example

<k:Message state="success" title="Order saved" text="You can continue picking."/>

Resolve a delivery warning

Loading the example

<k:Message id="delivery" state="Warning" closable="true" title="Delivery window missing"
	text="Confirm a time before dispatch." close=".onClose">
	<k:Button text="Use 14:00" press=".onSet"/>
</k:Message>

API

Properties

NameTypeDefaultDescription
statestringinfosuccess, wait, danger, info, none or a UI5 message type
titlestringHeading
textstringMessage text
closablebooleanfalseWhether the user can dismiss the message

Aggregations

NameTypeDescription
actionssap.ui.core.Control[]Actions available from the message

Events

NameTypeDescription
closeThe message was dismissed

Related

MessageListToast