Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
On this page

    ## Examples Cancellable on click by default. ### Border (default spinner)
    ### Grow
    ### Disabled on loading Non cancellable on click.
    --- ## API reference ### LoadingButton Module
    ### 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` |
    • GitHub
    • Twitter
    • Support
    • CoreUI (Vanilla)
    • CoreUI for React.js
    • CoreUI for Vue.js

    CoreUI for Angular is Open Source UI Components Library for Angular.

    Currently v5.6.8 Code licensed MIT , docs CC BY 3.0 .
    CoreUI PRO requires a commercial license.

    Advertisement