Vue Loading Button Component API
Loading Button API
This component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.
Explore the API reference for the Vue Loading Button component and discover how to effectively utilize its props for customization.
import { CLoadingButton } from '@coreui/vue-pro'
| Property | Default | Type |
|---|
| disabledOnLoading | - | boolean |
Makes button disabled when loading. |
| loading | false | boolean |
Loading state (set to true to start animation). |
| spinnerType | 'border' | string |
Sets type of spinner. |
| timeout | undefined | number |
Automatically starts loading animation and stops after a determined amount of milliseconds. |
| Event name |
|---|
| click |
Event called when the user clicks on a component. |