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>)
| 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. |
no outgoing calls