pub fn Input(_: InputProps) -> ElementExpand description
Renders a styled native input with synchronous native event values.
- Complexity: O(attributes + children) render work.
§Examples
use adam_web_ui::components::input::Input;
use dioxus::prelude::*;
fn app() -> Element { rsx! { Input { aria_label: "Name" } } }§Props
For details, see the props struct definition.
oninput:Option<EventHandler<FormEvent>>onchange:Option<EventHandler<FormEvent>>oninvalid:Option<EventHandler<FormEvent>>onselect:Option<EventHandler<SelectionEvent>>onselectionchange:Option<EventHandler<SelectionEvent>>onfocus:Option<EventHandler<FocusEvent>>onblur:Option<EventHandler<FocusEvent>>onfocusin:Option<EventHandler<FocusEvent>>onfocusout:Option<EventHandler<FocusEvent>>onkeydown:Option<EventHandler<KeyboardEvent>>onkeypress:Option<EventHandler<KeyboardEvent>>onkeyup:Option<EventHandler<KeyboardEvent>>onwheel:Option<EventHandler<WheelEvent>>oncompositionstart:Option<EventHandler<CompositionEvent>>oncompositionupdate:Option<EventHandler<CompositionEvent>>oncompositionend:Option<EventHandler<CompositionEvent>>oncopy:Option<EventHandler<ClipboardEvent>>oncut:Option<EventHandler<ClipboardEvent>>onpaste:Option<EventHandler<ClipboardEvent>>attributes:Vec<Attribute>children:Element