fix #535 add play-back event to reset mirror and replayer
This commit is contained in:
@@ -489,6 +489,7 @@ export type Mirror = {
|
||||
getNode: (id: number) => INode | null;
|
||||
removeNodeFromMap: (n: INode) => void;
|
||||
has: (id: number) => boolean;
|
||||
reset: () => void;
|
||||
};
|
||||
|
||||
export type throttleOptions = {
|
||||
@@ -577,6 +578,7 @@ export enum ReplayerEvents {
|
||||
CustomEvent = 'custom-event',
|
||||
Flush = 'flush',
|
||||
StateChange = 'state-change',
|
||||
PlayBack = 'play-back',
|
||||
}
|
||||
|
||||
export type MaskInputFn = (text: string) => string;
|
||||
|
||||
Reference in New Issue
Block a user