mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Added JavaScript rl-vm-visible event so that demo extension can prefill passphrase
This commit is contained in:
parent
7a1652972d
commit
f8d358a4f3
3 changed files with 30 additions and 0 deletions
|
|
@ -78,9 +78,11 @@ const
|
|||
if (e.target === vmDom) {
|
||||
if (vmDom.classList.contains('animate')) {
|
||||
vm.afterShow?.();
|
||||
fireEvent('rl-vm-visible', vm);
|
||||
} else {
|
||||
vmDom.close();
|
||||
vm.afterHide?.();
|
||||
// fireEvent('rl-vm-hidden', vm);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue