Socket
Socket
Sign inDemoInstall

bootstrap4c-spinners

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bootstrap4c-spinners

Bootstrap 4 Component - Spinners


Version published
Maintainers
1
Install size
4.48 MB
Created

Changelog

Source

1.0.2

  • Reverted fix :-/

Readme

Source

Bootstrap4C

spinners

The Bootstrap4C Spinners is a simple Bootstrap 4 spinners stylesheet and js component.

See demo here => https://haubek.github.io

Yarn install

yarn add bootstrap4c-spinners

CSS

Load CSS file.

<link href="path/to/component-spinners.css" rel="stylesheet">

Javascript

Load js file.

<script src="path/to/component-spinners.js"></script>

Add a function (like the example below).

$('.btn-spinner-example').click(function() {
  var btn = $(this);
  $(btn).buttonLoader('start');
  setTimeout(function() {
    $(btn).buttonLoader('stop');
  }, 3000);
});

HTML5 markup

<button type="button" class="btn btn-secondary btn-spinner btn-spinner-example">Button</button>

Keywords

FAQs

Last updated on 24 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc