Skip to main content

env

Description

A set of flags which describe current environment

env: any

Example

if (scheduler.env.isEdge) {
// your code
}

Details

The possible flags are:

  • isChrome - set to true if browser is Chrome
  • isEdge - set to true if browser is Edge
  • isFF - set to true if browser is Firefox
  • isIE - set to true if browser is Internet Explorer
  • isIE8 - set to true if browser is Internet Explorer 8
  • isIE9 - set to true if browser is Internet Explorer 9
  • isIE10 - set to true if browser is Internet Explorer 10
  • isIE11 - set to true if browser is Internet Explorer 11
  • isIPad - set to true if browser is Safari on IPad
  • isKHTML - set to true if browser is Konqueror

Change log

  • added in version 6.0
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.