I am very new to Meteor.js. I am using Meteor version 1.2. To toggle the aria-expanded value I need to write some event listener that toggle the attribute value. But the event must happen for both keyboard keypress and mouse click.
But it does not work with the keydown event. But it might work with click event. Even I also tried to write different two event handlers, but that is not also working.
How can I achive this ? Another thing if you have any better solution that how can I toggle the aria-expanded value, please guide me.