Socket
Socket
Sign inDemoInstall

bootstrap-slider

Package Overview
Dependencies
Maintainers
2
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-slider

Slider view component for Twitter Bootstrap.


Version published
Weekly downloads
124K
decreased by-9.53%
Maintainers
2
Weekly downloads
 
Created

What is bootstrap-slider?

The bootstrap-slider npm package is a flexible and customizable slider component for Bootstrap. It allows users to create sliders with a wide range of options, including vertical and horizontal orientations, range sliders, and more. It is useful for creating interactive UI elements for selecting values or ranges.

What are bootstrap-slider's main functionalities?

Basic Slider

This code initializes a basic slider using the bootstrap-slider package. The slider can be customized with various options.


$(document).ready(function() {
  $('#slider').slider();
});

Range Slider

This code initializes a range slider, allowing users to select a range of values between 20 and 80.


$(document).ready(function() {
  $('#rangeSlider').slider({
    range: true,
    value: [20, 80]
  });
});

Vertical Slider

This code initializes a vertical slider with a range from 0 to 100 and a default value of 50.


$(document).ready(function() {
  $('#verticalSlider').slider({
    orientation: 'vertical',
    min: 0,
    max: 100,
    value: 50
  });
});

Slider with Tooltip

This code initializes a slider that always shows a tooltip displaying the current value.


$(document).ready(function() {
  $('#tooltipSlider').slider({
    tooltip: 'always'
  });
});

Other packages similar to bootstrap-slider

Keywords

FAQs

Package last updated on 04 Jun 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc