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

Method focused

src/elements/row.rs:221–224  ·  view source on GitHub ↗

The current focused control, None if none

(&self)

Source from the content-addressed store, hash-verified

219
220 /// The current focused control, None if none
221 pub fn focused(&self) -> Option<&Box<dyn Element>> {
222 // self.focused
223 todo!()
224 }
225
226 pub fn set_focused(&mut self, control: Option<&dyn Element>) {
227 if let Some(focused) = self.focused {

Callers 8

keydownMethod · 0.45
keyupMethod · 0.45
textinputMethod · 0.45
mousedownMethod · 0.45
mouseupMethod · 0.45
mousewheelMethod · 0.45
marked_mouseMethod · 0.45
mousemoveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected