lx-button
is a directive that create a link element if you specify a href
or ng-href
attribute.
Otherwise, it creates a button element.
raised
, flat
, fab
and icon
.
ng-disabled
or disabled
attribute.
dist/scss/core/settings/defaults.scss
dist/scss/core/settings/defaults.scss
can be used to create colored buttons.button
element.Parameter | Type | Default | Description |
---|---|---|---|
lx-color | string |
primary |
Define the button color. Options: colors defined in colors and sizes section in dist/scss/core/settings/defaults.scss |
lx-size | string |
m |
Define the button size. Options: xs , s , m , l , xl |
lx-type | string |
raised |
Define the button type. Options: raised , flat , fab , icon |
ng-* | All angular directives are available as the directive generates a regular link or button element. |