Added JavaScript rl-view-model.create event for advanced code injections

This commit contains one for Nextcloud, so you understand how it works
This commit is contained in:
the-djmaze 2022-10-12 14:06:11 +02:00
parent 0e56b693c1
commit b2e1fa993d
4 changed files with 53 additions and 3 deletions

View file

@ -378,8 +378,14 @@ $Plugin->addHook('hook.name', 'functionName');
## Misc
### idle
### rl-layout
### rl-view-model.create
event.detail = the ViewModel class
Happens immediately after the ViewModel constructor
### rl-view-model
event.detail = the ViewModel class
Happens after the full build (vm.onBuild()) and contains viewModelDom
### sm-admin-login
event.detail = FormData