An open API service indexing awesome lists of open source software.

https://github.com/polydile/dile-button

Web Component to implement an animated button, based on LitElement
https://github.com/polydile/dile-button

javascript litelement webcomponents

Last synced: 25 days ago
JSON representation

Web Component to implement an animated button, based on LitElement

Awesome Lists containing this project

README

          

# Moved

This package has moved to @dile/ui in [dile-components catalog](https://dile-components.com/).

# \

Web Component to implement a simple animated button, based on LitElement

This components accepts a "role" property to styling. Accepted values are: undefined, primary, danger, warning, success

Implements a boolean property called "disabled" to disable the button.

Clicks on the button produces a CSS animation, but only when the button disabled property is false.

```html

```

Custom property | Description | Default
----------------|-------------|---------
--dile-button-padding | Padding applied to the buttton box | 10px
--dile-button-border-width | Border applied to the button box | 0
--dile-button-boder-color | Border color applied to the button box | transparent