Interface

EnvType (utils)

@ckeditor/ckeditor5-utils/src/env

interface

A namespace containing environment and browser information.

Filtering

Properties

  • readonly

    features : EnvFeaturesType

    Environment features information.

  • readonly

    isAndroid : boolean

    Indicates that the application is running on Android mobile device.

  • Indicates that the application is running in a browser using the Blink engine.

  • readonly

    isGecko : boolean

    Indicates that the application is running in Firefox (Gecko).

  • readonly

    isMac : boolean

    Indicates that the application is running on Macintosh.

  • readonly

    isMediaForcedColors : boolean

    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.

  • readonly

    isMotionReduced : boolean

    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.

  • readonly

    isSafari : boolean

    Indicates that the application is running in Safari.

  • readonly

    isWindows : boolean

    Indicates that the application is running on Windows.

  • readonly

    isiOS : boolean

    Indicates that the application is running in iOS.