material
material copied to clipboard
$mdMedia('gt-xs') and xs not working
According to https://material.angularjs.org/latest/api/service/$mdMedia breakepoint gt-xs and xs should be evaluated as true if screen width match conditions described here . But it is not working.
Here is an example http://plnkr.co/edit/Q0ApzGos7NrIo7Wgp5AV in example above
$scope.xs = $mdMedia('xs');
$scope.cxs = $mdMedia('(max-width: 599px)');
should be evaluated both as true when screen width is under 599px but only last one is evaluated as true. Same for gt-xs
All other breakepoints work just fine
Sorry my bad. Just realized that readme is not up to date and links are refering to old releas