add isShadow flag if a node is under shadow root

This commit is contained in:
Yanzhen Yu
2021-03-28 17:49:41 +08:00
parent 5f96f775e8
commit 9d6696befd
5 changed files with 13 additions and 1 deletions

1
typings/index.d.ts vendored
View File

@@ -1,4 +1,5 @@
import snapshot, { serializeNodeWithId, transformAttribute, visitSnapshot, cleanupSnapshot, IGNORED_NODE } from './snapshot';
import rebuild, { buildNodeWithSN, addHoverClass } from './rebuild';
export * from './types';
export * from './utils';
export { snapshot, serializeNodeWithId, rebuild, buildNodeWithSN, addHoverClass, transformAttribute, visitSnapshot, cleanupSnapshot, IGNORED_NODE, };