-
Notifications
You must be signed in to change notification settings - Fork 738
Closed
Labels
Description
The docs for callback say that it takes 4 args and they are (itemKey, opt, rootMenu, originalEvent)
. However, looking at the source code shows this: callback.call(root.$trigger, key, root, e)
. So, the docs should drop the "rootMenu" as there's only 3 args passed and the third is the event. (maybe the docs should also state that this
is assigned to be opt.$trigger
)