You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/main/src/MessageStrip.js
+25-23Lines changed: 25 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -38,27 +38,8 @@ const metadata = {
38
38
},
39
39
40
40
/**
41
-
* Defines the icon src URI to be displayed as graphical element within the <code>ui5-messagestrip</code>.
42
-
* <br><br>
43
-
* <b>Note:</b> If no icon is given, the default icon for the <code>ui5-messagestrip</code> type will be added.
44
-
* The SAP-icons font provides numerous options.
45
-
* <br><br>
46
-
* Example:
47
-
* <br>
48
-
* <pre>ui5-messagestrip icon="palette"</pre>
49
-
*
50
-
* See all the available icons in the <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
51
-
*
52
-
* @type {string}
53
-
* @defaultvalue ""
54
-
* @public
55
-
*/
56
-
icon: {
57
-
type: String,
58
-
},
59
-
60
-
/**
61
-
* Defines whether the MessageStrip renders icon in the beginning.
41
+
* Defines whether the MessageStrip will show an icon in the beginning.
42
+
* You can directly provide an icon with the <code>icon</code> slot. Otherwise, the default icon for the type will be used.
62
43
*
63
44
* @type {boolean}
64
45
* @defaultvalue false
@@ -91,6 +72,23 @@ const metadata = {
91
72
"default": {
92
73
type: Node,
93
74
},
75
+
76
+
/**
77
+
* Defines the content to be displayed as graphical element within the <code>ui5-messagestrip</code>.
78
+
* <br><br>
79
+
* <b>Note:</b> If no icon is given, the default icon for the <code>ui5-messagestrip</code> type will be used.
80
+
* The SAP-icons font provides numerous options.
81
+
* <br><br>
82
+
*
83
+
* See all the available icons in the <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
Copy file name to clipboardExpand all lines: packages/main/test/pages/MessageStrip.html
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,9 @@
43
43
<ui5-messagestripno-iconno-close-buttonclass="top" type="Information">Ea mollit nulla laborum et fugiat nulla excepteur ea. Duis et dolor enim Lorem laboris adipisicing cillum quis proident dolor veniam voluptate. Nostrud dolore ipsum anim voluptate enim dolore eiusmod aliqua et. Est eu ex dolor ea ipsum. Adipisicing duis aliquip ullamco culpa dolore exercitation ullamco cillum irure.</ui5-messagestrip>
44
44
<ui5-messagestripno-close-buttonclass="top" type="Information">Ea mollit nulla laborum et fugiat nulla excepteur ea. Duis et dolor enim Lorem laboris adipisicing cillum quis proident dolor veniam voluptate. Nostrud dolore ipsum anim voluptate enim dolore eiusmod aliqua et. Est eu ex dolor ea ipsum. Adipisicing duis aliquip ullamco culpa dolore exercitation ullamco cillum irure.</ui5-messagestrip>
0 commit comments