1.0.3 • Published 8 months ago

@exmg/exm-button v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

<exm-button> Published on npm

exm-button

Exm button extends the material 3 md buttons but adds loading (spinner) animation when loading attribute is set to element. This button extends the material @material/web/button.

Installation

npm install @exmg/exm-button

Example Usage

Text

<exm-text-button disabled loading>This button is disabled and loading</exm-text-button>

Filled

<exm-text-button loading>This button is disabled and loading</exm-text-button>>

API

Properties/Attributes

NameTypeDefaultDescription
loadingbooleanfalseWhether or not the button is in loading state

For other options see the m3 docs:

Additional references