bespokejs / bespoke

DIY Presentation Micro-Framework
http://markdalgleish.com/projects/bespoke.js/
MIT License
4.69k stars 442 forks source link

Disable keypress support #19

Closed modohash closed 11 years ago

modohash commented 11 years ago

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

markdalgleish commented 11 years ago

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.