mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59:21 +03:00
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:
parent
0e56b693c1
commit
b2e1fa993d
4 changed files with 53 additions and 3 deletions
|
|
@ -35,6 +35,8 @@ const
|
|||
dialog = ViewTypePopup === vm.viewType,
|
||||
vmPlace = doc.getElementById(position);
|
||||
|
||||
fireEvent('rl-view-model.create', vm);
|
||||
|
||||
ViewModelClass.__builded = true;
|
||||
ViewModelClass.__vm = vm;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue