0.1.7 • Published 7 years ago
c-loading-button v0.1.7
c-loading-button
Custom version of v-btn from Vuetify.
Project setup
yarn add c-loading-button -Dor
npm i c-loading-button --save-devUsage example
import LoadingButton from 'c-loading-button/src/components/loadingbutton/loadingbutton.vue'<LoadingButton :bState="false" btnColor="success"> <v-icon class="icn" slot="iconName">send</v-icon>Send</LoadingButton>Props
| Name | Definiton | Values | Type |
|---|---|---|---|
| bState | button state of disabled | true | Boolean |
| btnColor | color of btn to be shown | success/error/warning/info/secondary | String |
##Slots
| Name | Definiton | Values | Type |
|---|---|---|---|
| Send | Button text to be shown | Text | String |
| iconName | Icon text that generate icons | search/check/priority_high/delete/close | String |