glink/use_focus
Types
Values
pub fn auto_focus(auto_focus: Bool) -> Prop
Auto focus this component, if there’s no active (focused) component right now.
pub fn auto_focus_() -> Prop
Auto focus this component, if there’s no active (focused) component right now.
pub fn id(id: String) -> Prop
Assign an ID to this component, so it can be programmatically focused with focus(id)
.
pub fn is_active(is_active: Bool) -> Prop
Enable or disable this component’s focus, while still maintaining its position in the list of focusable components.
pub fn is_active_() -> Prop
Disable this component’s focus, while still maintaining its position in the list of focusable components.