brunschgi/terrificjs — Issue #4: window.matchMedia API support
Author: brunschgi
Created: 2011-12-20 08:44:52+00:00
State: open

For Responsive Layouts the use of the window.matchMedia API (https://developer.mozilla.org/en/CSS/Using_media_queries_from_code) would be very useful.

Possible Solution:
* Provide a notify API from the Application
* Extend the Bootstrap to support the media queries (static method on Application)
* Add Listeners that notify the Application (and therefore the involved Modules)