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

Method textinput

src/elements/media_query.rs:388–394  ·  view source on GitHub ↗
(&self, e: &mut TextEvent)

Source from the content-addressed store, hash-verified

386 }
387
388 fn textinput(&self, e: &mut TextEvent) {
389 let mut component = self.component.borrow_mut();
390
391 if component.ontextinput.is_some() {
392 let _ = component.ontextinput.get().try_send(e.clone());
393 }
394 }
395
396 fn update(&self, dt: f32) {
397 log::info!("Update MediaQueryElement");

Callers

nothing calls this directly

Calls 3

try_sendMethod · 0.80
getMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected