Giter Site home page Giter Site logo

aisuhua / bootstrap-select Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snapappointments/bootstrap-select

0.0 3.0 0.0 5.22 MB

A custom select for @twitter bootstrap using button dropdown

Home Page: http://silviomoreto.github.io/bootstrap-select/

License: MIT License

JavaScript 86.00% CSS 0.56% HTML 13.45%

bootstrap-select's Introduction

bootstrap-select

Latest release Bower npm NuGet

License Dependency Status devDependency Status

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to normal select boxes.

Demo and Documentation

See a Bootstrap 3 example here.

Authors

Silvio Moreto, Ana Carolina, caseyjhol, Matt Bryson, and t0xicCode.

Usage

Create your <select> with the .selectpicker class.

<select class="selectpicker">
  <option>Mustard</option>
  <option>Ketchup</option>
  <option>Barbecue</option>
</select>

If you use a 1.6.3 or newer, you don't need to do anything else, as the data-api automatically picks up the <select>s with the selectpicker class.

If you use an older version, you need to add the following either at the bottom of the page (after the last selectpicker), or in a $(document).ready() block.

// To style only <select>s with the selectpicker class
$('.selectpicker').selectpicker();

Or

// To style all <select>s
$('select').selectpicker();

Checkout the documentation for further information.

CDN

N.B.: The CDN is updated after the release is made public, which means that there is a delay between the publishing of a release and its availability on the CDN. Check the GitHub page for the latest release.

Bugs and feature requests

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing. Make sure you're using the latest version of bootstrap-select before submitting an issue.

Copyright and license

Copyright (C) 2013-2015 bootstrap-select

Licensed under the MIT license.

bootstrap-select's People

Contributors

caseyjhol avatar t0xiccode avatar silviomoreto avatar vsn4ik avatar anacarolinats avatar altearius avatar dcwatson avatar antonellopasella avatar smashercosmo avatar raido avatar jonathantneal avatar burnspirit avatar martinpanek87 avatar iaesaudi avatar zhomart avatar tristanlee85 avatar misatotremor avatar truckingsim avatar deepfriedmind avatar noirbizarre avatar carlosrberto avatar tonyseek avatar nushio avatar roundrobinquantum avatar jesenko avatar runejuhl avatar rumends avatar renhammington avatar peterdavehello avatar oleg-voloshyn avatar

Watchers

James Cloos avatar aisuhua avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.