Update hooks.md
added additional hooks in hook.md. on_trash, on_change and after_delete.
This commit is contained in:
parent
fd9108a7b3
commit
67cff23db2
1 changed files with 3 additions and 0 deletions
|
|
@ -226,6 +226,9 @@ The hook function will be passed the doc in concern as the only argument.
|
|||
* `on_submit`
|
||||
* `on_cancel`
|
||||
* `on_update_after_submit`
|
||||
* `on_change`
|
||||
* `on_trash`
|
||||
* `after_delete`
|
||||
|
||||
|
||||
Eg,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue