ngMediaFilter

An angular filter that uses window.matchMedia to allow filtering data on specific media query matches
1 person uses it

ngMediaFilter

An angular filter that uses window.matchMedia to allow filtering data on specific media query matches

Usage

The filter comes with three rules with values taken from twitter bootstrap

you can now filter with the syntax <defaultVal> | media:<rule>:<value>

example

Config

These setting scan be changed by injecting mediaFilterProvider into the config function of your module and chaning the mediaFilterProvider.rules with your own rule key value pairs E.G.

comments powered by Disqus
This page was last updated over 4 years ago.