MCPcopy Create free account
hub / github.com/angular-rust/ux-components / unfocus

Method unfocus

src/elements/textedit.rs:275–281  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

273 }
274
275 fn unfocus(&self) {
276 // self.base.unfocus();
277 let mut state = self.state.borrow_mut();
278 state.composition = String::new();
279 state.composition_start = 0;
280 state.composition_length = 0;
281 }
282
283 fn textinput(&self, event: &mut TextEvent) {
284 // self.base.textinput(event);

Callers 1

mousedownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected