Skip to main content

Module input

Module input 

Source
Expand description

The <input> element — form control.

Re-exports§

pub use super::global_attributes::*;

Constants§

TAG_NAME
The HTML tag name for this element.
accept
Accepted file types.
alt
Image alt.
autocomplete
Auto-fill.
autofocus
Auto-focus.
checked
Pre-checked.
disabled
Disabled.
form
Associated form.
list
Datalist reference.
max
Maximum.
maxlength
Max length.
min
Minimum.
minlength
Min length.
multiple
Allow multiple.
name
Name.
pattern
Validation pattern.
placeholder
Placeholder.
readonly
Read-only.
required
Required.
src
Image URL.
step
Step interval.
type
Input type.
value
Value.