Skip to content

Loading state spinner in Buttons #5829

@AmilaDotDev

Description

@AmilaDotDev

Hi All,

The loading state in the buttons which change the text to what ever you give for the data-loading-text attribute works fine. I started to use bootstrap for websites and I've got a new requirement to put a spinner icon inside the button (I've seen this in apple website when I order stuff). I found this plugin which nicely create spinners just using css and has a fallback for IE. http://fgnass.github.com/spin.js/

I created a sample with bootstrap button and use the spinner plugin to show the loading state You can find it in here. http://jsfiddle.net/amilarox/JMskU/

Just wondering if I can do this just using bootstrap.

Thanks,
Amila

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions