1.1.9 • Published 5 years ago

@graviton/button v1.1.9

Weekly downloads
7
License
MPL-2.0
Repository
github
Last release
5 years ago

Graviton Button

Button Web Component Designed By James Madden, Loosely following the Material Spec.

<gvt-button>Button</gvt-button>
<gvt-button filled>Filled Button</gvt-button>

Install

npm install @graviton/button

Import the component into your app:

import '@graviton/button';

To use your own build process on the component, import

import '@graviton/button/src/gvt-button.js';

Usage

To use Graviton Button in html:

<gvt-button></gvt-button>

To have the button filled, give it a filled attribute.

<gvt-button filled></gvt-button>

Compatibility

Graviton Button's default bundle should be compatible with the latest 2 versions of evergreen browsers, as well as IE 11. To build with different browser requirements, or to build a modern es2015 bundle, use the unbundled import (import '@graviton/button/src/gvt-button.js') and your own build process.

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago