add mouse interactions observer

This commit is contained in:
Yanzhen Yu
2018-10-08 18:37:40 +08:00
parent a33b24a676
commit 64d4c541ee
3 changed files with 85 additions and 2 deletions

View File

@@ -70,6 +70,16 @@ function record(options: recordOptions) {
},
}),
),
mouseInteractionCb: d =>
emit(
wrapEvent({
type: EventType.IncrementalSnapshot,
data: {
source: IncrementalSource.MouseInteraction,
...d,
},
}),
),
});
});
} catch (error) {