Skip to content

Commit 986edd7

Browse files
committed
Update documentation on TypeScript-bindings.
1 parent a4952bd commit 986edd7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ gmail.observe.on('view_email', function(obj) {
779779

780780
- **load** - When the gmail interface has completed loading
781781
- **compose** - When a new compose window opens, or a message is replied to or forwarded
782+
- **compose_cancelled** - When an existing compose window is closed.
782783
- **recipient_change** - When the recipient (to, cc or bcc) is changed when composing a new email or replying/forwarding an email
783784
- **view_thread** - When a new coversation thread is opened
784785
- **view_thread Sub-observers**

src/gmail.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ declare type GmailBindAction =
615615
| 'add_to_tasks' | 'move_label' | 'save_draft' | 'discard_draft' | 'send_message'
616616
| 'expand_categories' | 'delete_label' | 'show_newly_arrived_message' | 'poll'
617617
| 'new_email' | 'refresh' | 'open_email' | 'upload_attachment' | 'compose'
618-
| 'recipient_change' | 'view_thread' | 'view_email' | 'load_email_menu';
618+
| 'compose_cancelled' | 'recipient_change' | 'view_thread' | 'view_email'
619+
| 'load_email_menu';
619620

620621
interface GmailObserve {
621622
/**

0 commit comments

Comments
 (0)