Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Platform

The namespace for platform related utilities.

Index

Variables

Const IS_EDGE

IS_EDGE: boolean = /Edge/.test(navigator.userAgent)

A flag indicating whether the browser is Edge.

Const IS_IE

IS_IE: boolean = /Trident/.test(navigator.userAgent)

A flag indicating whether the browser is IE.

Const IS_MAC

IS_MAC: boolean = !!navigator.platform.match(/Mac/i)

A flag indicating whether the platform is Mac.

Const IS_WIN

IS_WIN: boolean = !!navigator.platform.match(/Win/i)

A flag indicating whether the platform is Windows.

Generated using TypeDoc