const render = require('brisky/render')
const app = render({
on: {
down (e) {
console.log('mouse-down triggered!', e)
}
}
})
By default all DOM events are caught and handled as expected. Some events are handled, as can be seen in this repository. Feel free to add an issue here, if you notice something is missing or not working as expected.
- drag
- rightclick
- forcedown
- forceup
- forcechanged
- arrowleft
- arrowright
- arrowup
- arrowdown
- back
- menu
- enter
- rewind
- playbtn
- forward
- space