Update hooks.md

added additional hooks in hook.md. on_trash, on_change and after_delete.
This commit is contained in:
Ramesh 2017-05-25 13:07:36 +05:30 committed by GitHub
parent fd9108a7b3
commit 67cff23db2

View file

@ -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,