@exmg/exmg-button
TypeScript icon, indicating that this package has built-in type declarations

9.0.5 • Public • Published

<exmg-button> Published on npm

exmg-button

Exmg 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/exmg-button

Example Usage

Text

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

Filled

<exmg-text-button loading>This button is disabled and loading</exmg-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:

Additional references

/@exmg/exmg-button/

    Package Sidebar

    Install

    npm i @exmg/exmg-button

    Weekly Downloads

    56

    Version

    9.0.5

    License

    MIT

    Unpacked Size

    13.9 kB

    Total Files

    18

    Last publish

    Collaborators

    • licenses
    • xm-nuel
    • livery-ci
    • exm_erwingoossen
    • martinkolkman
    • em-jeroenv
    • nicholas-exmachina
    • marksmits
    • difosfor
    • tylerexmg
    • padamieo_exmachina
    • albert_exm
    • rdrgcnn
    • sander_exmachina
    • joepadmiraal
    • exmachina-ci
    • remonvv
    • kjelles