Constructor
new NoteMetadata(content, style)
Construct a metadata record that does not correspond to any setting, but to a note that should be inserted between settings when they are displayed to the user for editing.
Parameters
-
content
String
contents of the note when displayed in the UI, which can be in a limited subset of HTML
-
style
String
how to display the note (must be
"info"
,"warn"
,"error"
, or"success"
to create an alert banner, or omitted, i.e., undefined, to create plain HTML content with no banner)