MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / select_current_item

Method select_current_item

primitives/src/select/context.rs:37–39  ·  view source on GitHub ↗

Select the currently focused item

(&mut self)

Source from the content-addressed store, hash-verified

35
36 /// Select the currently focused item
37 pub fn select_current_item(&mut self) {
38 self.selectable.select_focused();
39 }
40
41 /// Learn from a keyboard event mapping physical key to logical character
42 pub fn learn_from_keyboard_event(&mut self, physical_code: &str, logical_char: char) {

Callers 1

SelectListFunction · 0.80

Calls 1

select_focusedMethod · 0.45

Tested by

no test coverage detected