EnvType (utils)
@ckeditor/ckeditor5-utils/src/env
A namespace containing environment and browser information.
Filtering
Properties
-
Environment features information.
-
Indicates that the application is running on Android mobile device.
-
Indicates that the application is running in a browser using the Blink engine.
-
Indicates that the application is running in Firefox (Gecko).
-
Indicates that the application is running on Macintosh.
-
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.
-
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.
-
Indicates that the application is running in Safari.
-
Indicates that the application is running on Windows.
-
Indicates that the application is running in iOS.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.