meteor-modal-example
meteor-modal-example copied to clipboard
Example Meteor app illustrating modal windows, mobile detection, and jquery multi-select plugin
meteor-modal-example
Example Meteor app illustrating:
- modal dialogs (bootboxjs)
- mobile detection (detectmobilebrowser + yepnope)
- beautiful multi-select (loudev jquery plugin)
How to run
-
Install Meteorite
-
Get the example code:
git clone https://github.com/alanning/meteor-modal-example.git
- Run using Meteorite (rather than the normal
meteor
):
cd meteor-modal-example
mrt
- Point some browsers to
http://localhost:3000/
Live Demo
http://modal-example.meteor.com/
Y U NO Package?!
We do! This example uses the bootboxjs smart package available up on Atmosphere.
Did you mean the awesome multiselect part? Oh, well in that case...
The loudev multiselect library, while fantastic, is not appropriate for mobile devices. Currently the Meteor packaging system is not able to optionally load files based on device type so it's better to stick it in the public directory and load it as needed. This example uses yepnope to dynamically load the loudev library when appropriate.