Detects whether the current browser is Chrome
Detectes whether the current browser is Edge. Returns the version number if it is or -1 if it's not.
Detects whether the current browser is the Firefox Android browser NOTE: We do not support Firefox on Android, this code is just kept to maintain existing legacy behavior for the DatePickerFormItemView
Detectes whether the current browser is Internet Explorer. Returns the version number if it is or -1 if it's not.
Returns whether we are currently on an iPad. iPadOS will pretend that it is a desktop mac, but has touch support.
Returns whether we are currently on an iPhone
Detectes whether the current browser is either Internet Explorer or Edge (versions 12 and above) and returns the version. Returns -1 if the current browser is not IE. Adapted from https://codepen.io/gapcode/pen/vEJNZN. Verified with https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx.
Detects whether the current browser is Safari
Detectes whether we are currently on an android device