This package has been deprecated

Author message:

Use @material/mwc-fab

@power-elements/power-fab

1.1.1 • Public • Published

Deprecated

Use @material/mwc-fab instead

<power-fab>

Simple Material Design Floating Action Button

Get It! 🚛

npm i -S @power-elements/power-fab

Load It! 🐫

<script async type="module" src="/node_modules/@power-elements/power-fab/power-fab.js"></script>

Use It! 💪

<dialog id="dialog">You're amazing! 😎</dialog>
<power-fab id="fab"
    label="🤷‍♂️"
    title="Are you amazing?"></power-fab>

<script>
fab.addEventListener('active-changed',
  event => dialog.open = event.detail.value)
</script>

Package Sidebar

Install

npm i @power-elements/power-fab

Weekly Downloads

3

Version

1.1.1

License

GPL-3.0

Unpacked Size

38.7 kB

Total Files

5

Last publish

Collaborators

  • bennyp