PR #4 added FromStr trait for Key, however, there is no equivalent for Code. When used on the web, it feels natural to me to want to create a Code from an js_sys::KeyboardEvent::code(). Given that the two specification files are somewhat similar, it should not be too hard to add. Or do I miss something?
PR #4 added
FromStr
trait forKey
, however, there is no equivalent forCode
. When used on the web, it feels natural to me to want to create aCode
from anjs_sys::KeyboardEvent::code()
. Given that the two specification files are somewhat similar, it should not be too hard to add. Or do I miss something?