From bf85675e42ec022f28bc160ace7a48914531da9e Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 20 Apr 2022 22:08:44 +0200 Subject: [PATCH] Added info about sm-(user|admin)-login events --- plugins/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/plugins/README.md b/plugins/README.md index 1145aa0f7..e7cdbd0ea 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -367,9 +367,9 @@ $Plugin->addHook('hook.name', 'functionName'); # JavaScript Events ## mailbox +### mailbox.inbox-unread-count ### mailbox.message-list.selector.go-up ### mailbox.message-list.selector.go-down -### mailbox.inbox-unread-count ### mailbox.message.show ## audio ### audio.start @@ -380,3 +380,12 @@ $Plugin->addHook('hook.name', 'functionName'); ### rl-layout ### rl-view-model event.detail = the ViewModel class + +### sm-admin-login + event.detail = FormData +### sm-admin-login-response + event.detail = { error: int, data: {JSON response} } +### sm-user-login + event.detail = FormData +### sm-user-login-response + event.detail = { error: int, data: {JSON response} }