wired-input
A single-line text field with hand-drawn, wireframe like, look.
[ This description is mirrored from README.md at github.com/wiredjs/wired-input on 2019-05-22 ]
wired-input
Hand-drawn sketchy text input web component.
For demo and view the complete set of wired-elememts: wiredjs.com
Learn about web components here.
Usage
Add wired-input to your project:
npm i wired-input
Import wired-input definition into your HTML page:
<script type="module" src="wired-input/wired-input.js"></script>
Or into your module script:
import { WiredInput } from "wired-input"
Use it in your web page:
<wired-input></wired-input>
<wired-input placeholder="Enter name"></wired-input>
<wired-input placeholder="Disabled" disabled></wired-input>
Properties
placeholder - Placeholder text for the input.
disabled - disables the control
type - Input type e.g. password
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