Button
Commonly used buttons.
Basic (default)
Usage
html
<template>
<pm-button>Default</pm-button>
<pm-button type="secondary">Secondary</pm-button>
</template>Icon
Usage
html
<template>
<pm-button flat>Default</pm-button>
<pm-button type="secondary" flat>Secondary</pm-button>
</template>Flat
Usage
html
<template>
<pm-button flat>Default</pm-button>
<pm-button type="secondary" flat>Secondary</pm-button>
</template>API
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| flat | flat button | boolean | false |
| type | button type (color) | enumprimary, secondary, info, success, warning, danger | primary |