Example Meteor app illustrating:
- modal dialogs (bootboxjs)
- mobile detection (detectmobilebrowser + yepnope)
- beautiful multi-select (loudev jquery plugin)
-
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/
http://modal-example.meteor.com/
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.