EnvType
A namespace containing environment and browser information.
Properties
-
features : EnvFeaturesType
readonlymodule:utils/env~EnvType#features
Environment features information.
-
isAndroid : boolean
readonlymodule:utils/env~EnvType#isAndroid
Indicates that the application is running on Android mobile device.
-
isBlink : boolean
readonlymodule:utils/env~EnvType#isBlink
Indicates that the application is running in a browser using the Blink engine.
-
isGecko : boolean
readonlymodule:utils/env~EnvType#isGecko
Indicates that the application is running in Firefox (Gecko).
-
isMac : boolean
readonlymodule:utils/env~EnvType#isMac
Indicates that the application is running on Macintosh.
-
isMediaForcedColors : boolean
readonlymodule:utils/env~EnvType#isMediaForcedColors
Indicates that the user agent has enabled a forced colors mode (e.g. Windows High Contrast mode).
Note that the value of this property is evaluated each time it is accessed, and it may change over time, if the environment settings have changed.
-
isMotionReduced : boolean
readonlymodule:utils/env~EnvType#isMotionReduced
Indicates that "prefer reduced motion" browser setting is active.
Note that the value of this property is evaluated each time it is accessed, and it may change over time, if the environment settings have changed.
-
isSafari : boolean
readonlymodule:utils/env~EnvType#isSafari
Indicates that the application is running in Safari.
-
isWindows : boolean
readonlymodule:utils/env~EnvType#isWindows
Indicates that the application is running on Windows.
-
isiOS : boolean
readonlymodule:utils/env~EnvType#isiOS
Indicates that the application is running in iOS.