Enum react::html::HtmlInputMode
source · [−]pub enum HtmlInputMode {
None,
Text,
Tel,
Url,
Email,
Numeric,
Decimal,
Search,
}
Expand description
Hints at the type of data that might be entered by the user while editing the element or its contents
@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
‘none’ | ‘text’ | ‘tel’ | ‘url’ | ‘email’ | ‘numeric’ | ‘decimal’ | ‘search’
Variants
None
Text
Tel
Url
Email
Numeric
Decimal
Search
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HtmlInputMode
impl Send for HtmlInputMode
impl Sync for HtmlInputMode
impl Unpin for HtmlInputMode
impl UnwindSafe for HtmlInputMode
Blanket Implementations
Mutably borrows from an owned value. Read more