2.1.0 • Published 4 years ago

wired-icon-button v2.1.0

Weekly downloads
61
License
MIT
Repository
github
Last release
4 years ago

wired icon button

wired-icon-button

This is a hand-drawn sketchy round button with an image placed at the center. Image could also be in icon, more specifically an icon as as @material/mwc-icon.

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

Usage

Add wired-icon-button to your project:

npm i wired-icon-button

Import wired-icon-button definition into your HTML page:

<script type="module" src="wired-icon-button/lib/wired-icon-button.js"></script>

Or into your module script:

import { WiredIconButton } from "wired-icon-button"

Use it in your web page:

<wired-icon-button>favorite</wired-icon-button>
<wired-icon-button class="red">favorite</wired-icon-button>

Properties

disabled - disables the button. Default value is false.

Custom CSS Variables

--wired-icon-size Numeric size of the icon. Default is 24 (px).

--wired-icon-bg-color Background color.

Events

click - When button is clicked/submitted

License

MIT License (c) Preet Shihn

2.1.0

4 years ago

2.0.2

4 years ago

2.0.0

5 years ago

2.0.0-alpha.1

5 years ago

2.0.0-alpha.0

5 years ago

1.0.0

5 years ago

1.0.0-alpha.0

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.9.0-1

5 years ago

0.9.0-0

5 years ago

0.8.0

6 years ago

0.8.0-0

6 years ago

0.7.0

6 years ago

0.6.5

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago