bespokejs / bespoke

DIY Presentation Micro-Framework

Home Page:http://markdalgleish.com/projects/bespoke.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable keypress support

modohash opened this issue · comments

I think bespoke is a great plugin but I need to disable keyboard support as it is not firing the on activate event. If I explicitly call next or prev on the deck it works fine and the event fires but when using both, the key presses do not fire the event. Currently I've edited the source to disable the key presses but I think there should be a boolean property to easily disable key presses without editing the source.

Thanks

If you don't want the default event handlers, rather than editing the source, you can use a minimal deck and wire it up yourself.