When the left arrow key is pressed while this element is focused, focus moves to the given target element.
(&mut self, target: impl Into<Id>)
| 209 | /// When the left arrow key is pressed while this element is focused, |
| 210 | /// focus moves to the given target element. |
| 211 | pub fn focus_left(&mut self, target: impl Into<Id>) -> &mut Self { |
| 212 | self.config.focus_left = Some(target.into().id); |
| 213 | self |
| 214 | } |
| 215 | |
| 216 | /// When the up arrow key is pressed while this element is focused, |
| 217 | /// focus moves to the given target element. |
no outgoing calls