wired-search-input
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

wired-search-input

Hand-drawn sketchy search text input web component.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-search-input to your project:

npm i wired-search-input

Import wired-search-input definition into your HTML page:

<script type="module" src="wired-search-input/lib/wired-search-input.js"></script>

Or into your module script:

import { WiredSearchInput } from "wired-search-input"

Use it in your web page:

<wired-search-input></wired-search-input>
<wired-search-input placeholder="Search here"></wired-search-input>

Properties

placeholder - Placeholder text for the input.

disabled - disables the control

value - Value of the text.

Events

Fires all events a standard <input> element fires.

License

MIT License (c) Preet Shihn

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i wired-search-input

    Weekly Downloads

    23

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    15 kB

    Total Files

    7

    Last publish

    Collaborators

    • shihn