Skip to main content

Detector

Excalibur internal feature detection helper class

Index

Constructors

publicconstructor

Properties

publicfailedTests

failedTests: string[] = []

Methods

publicgetBrowserFeatures

  • Returns a map of currently supported browser features. This method treats the features as a singleton and will only calculate feature support if it has not previously been done.


    Returns DetectedFeatures

publiclogBrowserFeatures

  • logBrowserFeatures(): void
  • Report on non-critical browser support for debugging purposes. Use native browser console colors for visibility.


    Returns void

publictest

  • test(): boolean
  • Returns boolean