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

Method focus_right

src/accessibility.rs:204–207  ·  view source on GitHub ↗

When the right 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

202 /// When the right arrow key is pressed while this element is focused,
203 /// focus moves to the given target element.
204 pub fn focus_right(&mut self, target: impl Into<Id>) -> &mut Self {
205 self.config.focus_right = Some(target.into().id);
206 self
207 }
208
209 /// When the left arrow key is pressed while this element is focused,
210 /// focus moves to the given target element.

Callers 2

builder_focus_directionsFunction · 0.80

Calls

no outgoing calls

Tested by 2

builder_focus_directionsFunction · 0.64