@exmg/exm-button
v1.2.8
Published
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.
Readme
<exm-button> 
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-buttonExample 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
| Name | Type | Default | Description |
| --------- | --------- | ------- | --------------------------------------------- |
| loading | boolean | false | Whether or not the button is in loading state |
For other options see the m3 docs:
