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

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

Install

Link to this version
ImportedReleased 30 August 2017MIT License
Framework Support
Polymer 2.0+
Browser Compatibility
Install with
bower install --save wiredjs/wired-input"#0.2.0"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.2.0

Dependencies

  • polymer#Polymer/polymer#^2.0.0
  • wired-lib#^0.1.1