specify if melonJS should prevent all default browser action on registered events.
It also covers the keys the UI focus takes while a widget has it, and a
UITextButton#bindKey key.
Read-only: this is a module binding, so input.preventDefault = false cannot
work — assigning to a module namespace property throws. Use
input.setPreventDefault instead.
specify if melonJS should prevent all default browser action on registered events. It also covers the keys the UI focus takes while a widget has it, and a UITextButton#bindKey key.
Read-only: this is a module binding, so
input.preventDefault = falsecannot work — assigning to a module namespace property throws. Use input.setPreventDefault instead.