Answer the question
In order to leave comments, you need to log in
Cannot read property 'data' of null how to solve the problem?
I'm trying to add an event object to the trigger.
.trigger({type: 'keydown', keyCode: 13, ctrlKey: true})
element.on('keydown', (_event) => {
if (_event.keyCode == 13 && _event.ctrlKey) {
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question