snapshot and rebuild shadow DOM

https://github.com/rrweb-io/rrweb/issues/38
This commit is contained in:
Yanzhen Yu
2021-03-13 20:46:18 +08:00
parent cf5c34592e
commit 88f348a57b
8 changed files with 717 additions and 16 deletions

View File

@@ -56,6 +56,8 @@ export type serializedNode = (
| commentNode
) & {
rootId?: number;
isShadowHost?: boolean;
isShadow?: boolean;
};
export type serializedNodeWithId = serializedNode & { id: number };