MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / focus_up

Method focus_up

src/accessibility.rs:218–221  ·  view source on GitHub ↗

When the up arrow key is pressed while this element is focused, focus moves to the given target element.

(&mut self, target: impl Into<Id>)

Source from the content-addressed store, hash-verified

216 /// When the up arrow key is pressed while this element is focused,
217 /// focus moves to the given target element.
218 pub fn focus_up(&mut self, target: impl Into<Id>) -> &mut Self {
219 self.config.focus_up = Some(target.into().id);
220 self
221 }
222
223 /// When the down arrow key is pressed while this element is focused,
224 /// focus moves to the given target element.

Callers 1

builder_focus_directionsFunction · 0.80

Calls

no outgoing calls

Tested by 1

builder_focus_directionsFunction · 0.64