Skip to main content

Module hooks

Module hooks 

Source
Expand description

Hooks: synchronous alter hooks over declarations (menus, the palette, settings), run when the application is built or a plugin comes or goes, never per frame; and lifecycle events.

Structs§

Hook
An alter hook: an id, what it alters, a priority (higher first) and the hooks it must run after.
PaletteEntry
A palette entry, derived from a command.
SettingEntry
A setting as the settings form shows it.

Enums§

Alter
What a hook alters.
Lifecycle
Moments of an application’s life.
On
Which lifecycle events a handler wants.

Type Aliases§

AlterFn
A function altering a list of declarations.
LifecycleFn
A lifecycle handler.