Closed Breush closed 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 :)
Perfect! Thank you! :)
Cross-browsers compatible keyboard manager: