yo-yo-autogrow
Wrapper <textarea />
UI Component made from yo-yo
Usage
const autogrow = const el = yo`<div> </div>`
with Choo
const choo = const html = const autogrow = const app = app const mainView = html` ` documentbody
Properties
Property | Default |
---|---|
placeholder | '' |
value | '' |
name | '' |
disabled | false |
required | false |
inputmode | '' |
autocomplete | 'off' |
Style
Property | Default |
---|---|
--AutogrowTextarea-border |
1px solid #ddd |
--AutogrowTextarea-border-focus |
1px solid #9cc |
--AutogrowTextarea-width |
100% |
--AutogrowTextarea-padding |
4px 6px |