project_note
Clone
https://git.tahinli.com/Tahinli/project_note.git
0 watching0 forksJavaScript3.6 MiBe100df4Tahinli1 month ago1 commit
| 1 | use |
| 2 | |
| 3 | |
| 4 | ; |
| 5 | |
| 6 | /// Classes for the input's dimensions, border, and interaction states. Focus uses the |
| 7 | /// global `:focus-visible` outline from `styles.css`. |
| 8 | const INPUT: StaticClass = class! |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | ; |
| 16 | |
| 17 | /// A styled input, 32px tall with a hairline border. |
| 18 | /// |
| 19 | /// Pass input attributes and event handlers through `attrs`. Extra classes are added to |
| 20 | /// the input's classes. It fills its container by default. Set `aria-invalid="true"` to |
| 21 | /// show the error border. |
| 22 | /// |
| 23 | /// ```ignore |
| 24 | /// view! { |
| 25 | /// input(attrs: attributes! { type="email" placeholder="you@example.com" }) |
| 26 | /// } |
| 27 | /// ``` |
| 28 | |
| 29 | pub async |
| 30 | |
| 31 |