1
0
Fork 0
freesewing/markdown/dev/guides/plugins/hooks/en.md
Joost De Cock 249f2600e5 chore: More linting
@nicholasdower is smarter than me. What's missing was the
`listItemIndent` setting
2022-02-20 14:44:38 +01:00

1.1 KiB

title order
Hooks 60

A hook is a lifecycle event. The available hooks are:

You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters:

  • An object relevant to the hook. See the hooks API reference for details.
  • Data passed when the hook was registered (optional)