# mediaCheck **Repository Path**: mirrors_mikehostetler/mediaCheck ## Basic Information - **Project Name**: mediaCheck - **Description**: Control JS with mediaqueries - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #mediaCheck This is a simple wrapper around matchMedia to run code on entry and exit from media queries. ##Demo There is a really basic example here: http://sparkbox.github.com/mediaCheck/ ##Example: ```javascript mediaCheck({ media: '(max-width: 420px)', entry: function() { console.log('starting 420'); }, exit: function() { console.log('leaving 420'); } }); ```