Skip to content

Commit cfc989c

Browse files
committed
Add documentation and changelog
1 parent fd31ea3 commit cfc989c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog ##
22

3+
### Unreleased
4+
5+
#### Added
6+
7+
* Added support for `events.preShow` so you can enable default browser menu if needed (thanks @terwarf)
8+
39
### 2.7.1
410

511
#### Fixed

documentation/docs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ A reference to the current options object is passed, the options object is a col
307307
308308
Value | Description
309309
---- | ----
310-
`events.show` | Called before show of the contextmenu
310+
`events.preShow` | Called before show of the contextmenu, when returning false default browser context menu is shown
311+
`events.show` | Called on show of the contextmenu
311312
`events.hide` | Called before hide of the contextmenu
312313
`events.activated` | Called after activation of the contextmenu
313314

0 commit comments

Comments
 (0)