Overview

Below is an overview of the most interesting available modules/functions in LM together with links to the code and guides if available. The code contains TypeScript signatures + TSDoc, and can therefore be used as a makeshift API reference until a proper reference is made.

Not all components are listed here in order to keep things somewhat manageable. We listed the components that can easily be directly applied when making an applet instead. In order to find useful intermediate building blocks it's recommended to search for something that does almost what you're after and look through the source code for things can be reused. All intermediate building blocks are exported from LaunchMenu, despite possibly not being listed in this overview.

UILayers

UI components are managed and stacked using UILayers. These layers are managed on a stack, and can add content to 3 sections each:

  • A textfield
  • A menu
  • Content

Additionally there is also the special path section that the layer can add to which shows where the user is within LM.

Menus

Menus are used to display and select different items within LaunchMenu. There are several built-in menu and item types that can be used.

Actions

The action system is used to add functionality to menu items in a way way that's flexible and provides good intellisense.

TextFields

Text fields allow the user to enter text. This is widely used to allow for searching in menus, including pattern highlighting, but is also used to enter text values for other inputs. These text fields also allow for powerful syntax highlighting.

Settings

LaunchMenu has a built-in settings system that applets can use, with various build-in setting types and tools to make custom types.

Misc

LaunchMenu has numerous additional features, but most of these contain of few components often used by applets and are therefor bundled here.

Table of Contents