johndatserakis/vue-simple-context-menu

Option click method not being executed

mikeerickson opened this issue · 1 comments

I have used this component a number of times in various applications and all has worked out fine.

however, I have a situation in a new application where the @option-clicked handler method is not executed when selecting an item?

I am not sure where this has gone wrong? Any tips on how to track this down?

<vue-simple-context-menu :elementId="'sidebarMenuContextId'" ref="sidebarMenuContext" :options="sidebarMenu" @option-clicked="test"></vue-simple-context-menu>

Then in my component method

...
        test(data) {
            // this is never executed
            console.log('test')
            console.log(data)
        },
...

Gosh dang it, pilot error! It was indeed being fired, but I did not event realize my Chrome DevTools filter was enabled, so I couldn't "see" the event.