MCPcopy Create free account
hub / github.com/microsoft/SandDance / getScreenSelector

Function getScreenSelector

docs/app/js/sanddance-app.js:28597–28601  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

28595var ScreenWidthMaxXXLarge = ScreenWidthMinXXXLarge - 1;
28596var ScreenWidthMinUhfMobile = 768;
28597function getScreenSelector(min, max) {
28598 var minSelector = typeof min === "number" ? " and (min-width: " + min + "px)" : "";
28599 var maxSelector = typeof max === "number" ? " and (max-width: " + max + "px)" : "";
28600 return "@media only screen" + minSelector + maxSelector;
28601}
28602function getHighContrastNoAdjustStyle() {
28603 return {
28604 forcedColorAdjust: "none",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected