Name: chosen.touch
Owner: mobomo
Description: Chosen.touch is a fork of the Chosen library for making long, unwieldy select boxes more friendly for touch devices.
Created: 2012-07-11 15:32:34.0
Updated: 2017-06-14 20:24:07.0
Pushed: 2012-07-13 13:40:05.0
Homepage: https://github.com/bpmarkowitz/chosen.touch
Size: 1392
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Chosen.touch is a fork of the Chosen library that allows you to optionally trigger native UI select pickers on touch based devices while maintaining Chosen styles. Typical Chosen behavior on non-touch devices is unaffected.
I have also included a retina friendly version of the sprite for extra hotness on high density displays. The retina image is triggered by media queries, so there is no setup required.
jQuery:
chzn-select").chosen({touch:true})
Prototype:
Chosen(some_form_field,{touch:true});