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