wired-textarea
A multi-line text field (auto-grows) with a hand-drawn, wireframe like, look
[ This description is mirrored from README.md at github.com/wiredjs/wired-textarea on 2019-05-10 ]
wired-textarea
Hand-drawn sketchy textarea web component.
For demo and view the complete set of wired-elememts: wiredjs.com
Learn about web components here.
Usage
Add wired-textarea to your project:
npm i wired-textarea
Import wired-textarea definition into your HTML page:
<script type="module" src="wired-textarea/wired-textarea.js"></script>
Or into your module script:
import { WiredTextarea } from "wired-textarea"
Use it in your web page:
<wired-textarea placeholder="Enter text" rows="3"></wired-textarea>
Properties
rows - Initial number of rows in textarea.
maxrows - Max number of rows textarea grows to. Then scrollbars appear.
value - Text value.
disabled - Disabled the control.
placeholder - Placeholder text for the input.
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- polymer#Polymer/polymer#^2.0.0
- wired-lib#^0.1.1
- Released
- 2017-08-30
- Maturity
- IMPORTED
- License
- MIT License
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent