pub struct InputElement;Expand description
Schema anchor for built-in view! element input — Editable single-line or multiline native text input leaf node.
Implementations§
Source§impl InputElement
Zero-cost IDE Go-to-Definition schema anchors for InputElement.
impl InputElement
Zero-cost IDE Go-to-Definition schema anchors for InputElement.
Sourcepub const fn element()
pub const fn element()
Schema anchor for built-in view! element input — Editable single-line or multiline native text input leaf node.
Sourcepub const fn style()
pub const fn style()
Applies a Style expression or inline style: { ... } block to this element.
Sourcepub const fn bind_style()
pub const fn bind_style()
Binds a reactive move || -> Style closure that updates this node’s style.
Sourcepub const fn node_ref()
pub const fn node_ref()
Captures the created NodeId into a mutable local binding or NodeRefTarget.
Sourcepub const fn on_pointer_down()
pub const fn on_pointer_down()
Registers a pointer-down handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn on_pointer_move()
pub const fn on_pointer_move()
Registers a pointer-move handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn on_pointer_up()
pub const fn on_pointer_up()
Registers a pointer-up handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn on_pointer_enter()
pub const fn on_pointer_enter()
Registers a pointer-enter handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn on_pointer_leave()
pub const fn on_pointer_leave()
Registers a pointer-leave handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn on_hover()
pub const fn on_hover()
Registers a pointer hover enter/leave handler (FnMut(&UiEvent) + 'static).
Sourcepub const fn a11y()
pub const fn a11y()
Sets complete A11yProps metadata (mutually exclusive with individual a11y fields).
Sourcepub const fn a11y_label()
pub const fn a11y_label()
Sets accessible screen-reader label string.
Sourcepub const fn a11y_value()
pub const fn a11y_value()
Sets accessible current value string.
Sourcepub const fn a11y_disabled()
pub const fn a11y_disabled()
Marks node disabled in accessibility tree (bool).
Sourcepub const fn a11y_checked()
pub const fn a11y_checked()
Sets accessible checked state (Option<bool>).
Sourcepub const fn placeholder()
pub const fn placeholder()
Sets placeholder hint text shown when empty (impl Into<String>).