add mouse interactions observer

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 61312a0ad0
commit 7078ce2f2a
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) {