Launch Bar Widgets
Launch bar widgets are a subset of Custom Widgets that can be used to render custom buttons and widgets inside the Launch Bar.
Creating a launch bar widget#
Unlike Custom Widgets, the process of setting up a launch bar widget is slightly different:
- Create a Code note of type JavaScript (front-end).
- The script itself uses the same concepts as Custom Widgets, including the use of a
NoteContextAwareWidgetor aBasicWidget(according to needs). - As examples, see Note Title Widget and Analog Watch.
- The script itself uses the same concepts as Custom Widgets, including the use of a
- Don't set
#widget, as that attribute is reserved for Custom Widgets. - In the Global menu, select Configure launchbar.
- In the Visible Launchers section, select Add a custom widget.
- Give the newly created launcher a name (and optionally a name).
- In the Promoted Attributes section, modify the widget field to point to the newly created note.
- Refresh the UI.