1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/node_modules/visibilityjs/index.d.ts
diosmosis b12946909f run npm update and include node_modules (#16079)
* update npm packages to latest

* fix javascript path location

* update screenshots

* Add node_modules for users that do not have npm insalled but use git to deploy.

* fix release checklist test

* Add old chroma-js + some files missing from node_module.

* remove npm install

* fix .travis.yml

* update expected screenshots

* update submodule

Co-authored-by: sgiehl <stefan@matomo.org>
2020-06-26 02:33:41 -07:00

15 خطوط
713 B
TypeScript
Vendored

declare module 'visibilityjs' {
export function every(interval: number, callback: Function): number;
export function every(interval: number, hiddenInterval: number, callback: Function): number;
export function onVisible(callback: Function): number|boolean;
export function afterPrerendering(callback: Function): number|boolean;
export function isSupported(): boolean;
export function state(): string;
export function hidden(): boolean;
export function unbind(id: number): void;
export function change(listener: VisiblityChangeListener): number|boolean;
export function stop(id: number): boolean;
type VisiblityChangeListener = (event: Event, state: string) => void;
}