Ladda buttons not working without use of JS
Based on the examples, it lookes like the Ladda effect can be achieved simply by including the correct CSS and JS files and then defining a Ladda button in HTML. However, regardless of what I do the Ladda effects never happen unless I programatically perform a Ladda.bind().
Is this the required usage of Ladda or do I have something else going on? I notice on the demo page there is a JS script tag that contains the following:
// Bind normal buttons Ladda.bind( 'div:not(.progress-demo) button', { timeout: 2000 } );
This makes me think that even the normal buttons must have a Ladda.bind(). If this is the required functionality for getting the Ladda effect, then it could be made much more obvious on the demo and github pages...
Experiencing the same issue with ladda-bootstrap installed via bower. Comment line 172 in index.html to experience the same behavior on the demos.
Issue reproduced in https://jsfiddle.net/terales/jzfjxj8g/
I think that behavior should be like in Ladda — work without any additional JS for elements with ladda-button class.
@msurguy Can I prepare a PR to fix this issue?