Lurch web app user interface

Class

NoteMetadata

A subclass of SettingMetadata that does not actually correspond to any setting, but can be useful to include in metadata to insert notes in between controls when the settings are edited in the user interface.

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)

Source

Classes

NoteMetadata