compatibility-helper.d.ts 376 B

1234567
  1. /** Helper with compatibility functions to support different browsers */
  2. export declare class CompatibilityHelper {
  3. /** Workaround for TouchEvent constructor sadly not being available on all browsers (e.g. Firefox, Safari) */
  4. static isTouchEvent(event: any): boolean;
  5. /** Detect presence of ResizeObserver API */
  6. static isResizeObserverAvailable(): boolean;
  7. }