wanadev / PhotonUI

A javascript framework to create user interfaces
http://wanadev.github.io/PhotonUI/
BSD 3-Clause "New" or "Revised" License
63 stars 20 forks source link

Feature keyboard manager #42

Closed Breush closed 8 years ago

Breush commented 8 years ago

Cross-browsers compatible keyboard manager:

flozz commented 8 years ago

Hello,

Great PR, can you just add an element property (like in the MouseManager) to allow to use the KeayboardManager only on one element if required (by default this property should listen on to document).

NOTE: if the user set a PhotonUI Widget instead of an HTMLElement, you should use widget.html as element.

Thank you for this PR :)

flozz commented 8 years ago

Perfect! Thank you! :)