Coder Social home page Coder Social logo

gerhobbelt / jquery-multiselect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aplacito/jquery-multiselect

0.0 4.0 1.0 1.53 MB

jQuery MultiSelect Plugin

Home Page: http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/

License: GNU General Public License v2.0

JavaScript 84.61% CSS 7.47% PHP 1.72% ColdFusion 1.05% HTML 5.14%

jquery-multiselect's Introduction

jQuery UI MultiSelect Widget

MultiSelect progessively enhances an ordinary multiple select control into elegant drop down list of checkboxes, stylable with ThemeRoller.

Example

Particulars of this clone

This clone includes a few additions and fixes from other people:

  • options:

    • menuWidth: (number) when specified, you can set the menu's outerWidth to this fixed value.

    • both noneSelectedText and selectedText options can be either strings or functions producing strings. The call to noneSelectedText will set the function's this to the element. The call to selectedText will do likewise and pass these parameters as function arguments: numChecked, numTotal, checkedItems selectedListSeparator: (default: ', ') can be set to any string which will be used as the separator when multiple selected values are joined to produce the selection result. each <option> 'title' is derived from its .innerText rather than the .innerHTML. <option>'s which have a data-image attribute will be rendered with an image (icon) preceding their description, where the image src attribute is set to the data-image attribute value. Each <img> will have the data-image class. <img class="data-image" src="{the <option> data-image attribute value}" /> the event buttonvaluechanged is fired whenever the update() method was invoked the input[type="checkbox"], input[type="radio"] and click.multiselect events delegates now can specify an 'extraParameters' value, which is passed on to the 'click' event when fired. That event would previously pass an object with these fields: value text checked and now also includes the field extraParameters WARNING! WARNING! WARNING! This extraParameters feature isn't working as the extra parameters passed to jQuery's .trigger() don't make it past the browser-native .click() handler which is invoked in there (jQuery 1.10.x (and below?)) the class now also provides the getUnchecked() API which logically returns the set of UNchecked options. we popup on top of the button if the menu would otherwise be cut off by the bottom of the window. fix select/deselect bug in single-selection mode. License MultiSelect is dual-licensed under the GPL 2 license and the MIT license. Contributing When submitting a pull request, please describe the change you are making - preferably with a use case. Unit tests are now (14 March 2016) required for the pull to be merged. Please do not submit minified code in your pull request, that tends to cause merge conflicts.

jquery-multiselect's People

Contributors

10fra avatar abennouna avatar apuratepp avatar boyaq avatar cailloumajor avatar dabdine avatar davidworkman9 avatar denis111 avatar doits avatar eleotlecram avatar enkarito avatar exu avatar fank avatar fjung avatar gerhobbelt avatar jiangxianfu avatar kander-zz avatar liazy avatar maintux avatar mastropinguino avatar mlh758 avatar peytons avatar r4j4h avatar seferov avatar simauria avatar suit avatar terrymooreii avatar viict avatar vmtco avatar wallenium avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

factlook

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.