Added mousemoveCallback threshold option to sampling config. (#492)

* Added mousemoveCallback threshold option to sampling config.

* Added mousemoveCallback to definitions file.
This commit is contained in:
Province Innovation
2021-02-19 03:56:12 +00:00
committed by GitHub
parent 7bf1b450f6
commit 75e4a0c1ff
3 changed files with 8 additions and 1 deletions

1
typings/types.d.ts vendored
View File

@@ -111,6 +111,7 @@ export declare type eventWithTime = event & {
export declare type blockClass = string | RegExp;
export declare type SamplingStrategy = Partial<{
mousemove: boolean | number;
mousemoveCallback: number;
mouseInteraction: boolean | Record<string, boolean | undefined>;
scroll: number;
input: 'all' | 'last';