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: src/rendering.js
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,24 @@ export function errorMessageListItem(message, type) {
70
70
returnclone
71
71
}
72
72
73
+
/**
74
+
* Clones the {@link errorListItemTemplate}, parsing the given HTML string and inserting it into the element with `[data-pf-error-message]` to the message,
75
+
* and setting the `data-pf-error-type` to the given type.
76
+
*
77
+
* @params {string} htmlString the HTML content to render in the string
78
+
* @params {string} type the value that will be used for `data-pf-error-type``
0 commit comments