pub fn web_should_dispatch_text_input(
ime_active: bool,
mods: Modifiers,
key: &str,
) -> boolExpand description
Returns true when a browser keydown event should also emit a printable WindowEvent::TextInput.
§Arguments
bool- Whether the hidden browser IME proxy<input>is currently active.Modifiers- Active keyboard modifiers on the DOMKeyboardEvent.&str- DOMKeyboardEvent.keystring.
§Returns
bool-trueonly for unmodified printable single-character keys while IME proxy is inactive.