(&self, e: &mut TextEvent)
| 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"); |