mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Extend example extension code with more details
This commit is contained in:
parent
5e2d9c4fb0
commit
7135af995d
6 changed files with 122 additions and 12 deletions
|
|
@ -408,14 +408,34 @@ and called in JavaScript using rl.pluginRemoteRequest().
|
|||
### mailbox.inbox-unread-count
|
||||
### mailbox.message-list.selector.go-up
|
||||
### mailbox.message-list.selector.go-down
|
||||
|
||||
### mailbox.message.show
|
||||
Use to show a specific message.
|
||||
``` JavaScript
|
||||
dispatchEvent(
|
||||
new CustomEvent(
|
||||
'mailbox.message.show',
|
||||
{
|
||||
detail: {
|
||||
folder: 'INBOX',
|
||||
uid: 1
|
||||
},
|
||||
cancelable: false
|
||||
}
|
||||
)
|
||||
);
|
||||
```
|
||||
|
||||
## audio
|
||||
### audio.start
|
||||
### audio.stop
|
||||
### audio.api.stop
|
||||
## Misc
|
||||
### idle
|
||||
### rl-layout
|
||||
event.detail value is one of:
|
||||
0. NoPreview
|
||||
1. SidePreview
|
||||
2. BottomPreview
|
||||
|
||||
### rl-view-model.create
|
||||
event.detail = the ViewModel class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue