@piwikpro/ngx-piwik-pro
Version:
Piwik PRO tracking library for Angular apps.
11 lines (10 loc) • 434 B
TypeScript
import { InjectionToken } from '@angular/core';
import { PiwikProWindow } from '../interfaces/piwik-pro-window.interface';
/**
* Check if there is some global function called _paq on Window object, or create an empty function to doesn't brake codes...
*/
export declare function getPaqFn(window: PiwikProWindow): any;
/**
* Provides an injection token to access Piwik Pro Paq
*/
export declare const NGX_PAQ: InjectionToken<any>;