ngx-hotjar
Version:
A simple ng wrapper to load hotjar dependency by angular way
10 lines (9 loc) • 364 B
TypeScript
import { InjectionToken } from '@angular/core';
/**
* Check if this environment can access Window object and return window or null if false.
*/
export declare function getWindow(platformId: any): Window & typeof globalThis;
/**
* Provide DOM Window reference or null if the environment is not a Browser.
*/
export declare const WINDOW: InjectionToken<Window>;