Code Monkey home page Code Monkey logo

select2-rails's Introduction

#Select2 4.0.0-beta.3 for rails asset pipeline

Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.

Usage

Install select2-rails gem

Add select2-rails to your Gemfile and run bundle install:

gem "select2-rails", github: 'CUnknown/select2-rails'

Include select2-rails javascript assets

Add the following to your app/assets/javascripts/application.js:

//= require select2

Include select2-rails stylesheet assets

Add to your app/assets/stylesheets/application.css:

*= require select2

Internationalization (i18n)

The select2-rails now supports multiple languages.

Add the following to your app/assets/javascripts/application.js:

//= require select2/"language"

License

Selec2-Rails is released under the MIT License.

select2-rails's People

Contributors

afiedler avatar argerim avatar benlinton avatar benolee avatar budnik avatar camsong avatar danryan avatar demiazz avatar eloyesp avatar epaminond avatar grncdr avatar jordigg avatar kbessiere avatar lunks avatar marklazz avatar mwanji avatar p-lambert avatar pallan avatar pierpaolofrasa-twt avatar pospeev avatar poteto avatar silasb avatar slothbear avatar sodabrew avatar techfounder avatar

Watchers

 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.