Returns true if the currently focused element is a text input.
(&self)
| 5865 | |
| 5866 | /// Returns true if the currently focused element is a text input. |
| 5867 | pub fn is_text_input_focused(&self) -> bool { |
| 5868 | if self.focused_element_id == 0 { |
| 5869 | return false; |
| 5870 | } |
| 5871 | self.text_edit_states.contains_key(&self.focused_element_id) |
| 5872 | } |
| 5873 | |
| 5874 | /// Returns true if the currently focused text input is multiline. |
| 5875 | pub fn is_focused_text_input_multiline(&self) -> bool { |
no outgoing calls
no test coverage detected