emit mouse interaction event during replay
This commit is contained in:
@@ -457,6 +457,10 @@ export class Replayer {
|
|||||||
if (!target) {
|
if (!target) {
|
||||||
return this.debugNodeNotFound(d, d.id);
|
return this.debugNodeNotFound(d, d.id);
|
||||||
}
|
}
|
||||||
|
this.emitter.emit(ReplayerEvents.MouseInteraction, {
|
||||||
|
type: d.type,
|
||||||
|
target,
|
||||||
|
});
|
||||||
switch (d.type) {
|
switch (d.type) {
|
||||||
case MouseInteractions.Blur:
|
case MouseInteractions.Blur:
|
||||||
if (((target as Node) as HTMLElement).blur) {
|
if (((target as Node) as HTMLElement).blur) {
|
||||||
|
|||||||
Reference in New Issue
Block a user