On this page

Angular Loading Button Component
Angular Buttons with built-in loading indicators. Indicate the loading state of the button bridging the gap between action and feedback.
Examples
Cancellable on click by default.
Border (default spinner)
Loading...
Loading...
Grow
Loading...
Loading...
Disabled on loading
Non cancellable on click.
Loading...
Loading...
API reference
LoadingButton Module
import { LoadingButtonModule } from '@coreui/angular';
@NgModule({
imports: [LoadingButtonModule,]
})
export class AppModule() { }
cLoadingButton
directive
Inputs
name | description | type | default |
---|---|---|---|
disabledOnLoading |
Makes button disabled when loading. | boolean |
false |
loading |
Loading state (set to true to start animation). | boolean |
false |
spinnerType |
Type of spinner. | border | grow |
border |
Outputs
name | description | type |
---|---|---|
loadingChange |
Event emitted on loading change. |
boolean |