pass mask input option to snapshot

This commit is contained in:
Yanzhen Yu
2019-06-15 14:45:42 +08:00
parent a51313d973
commit 52ec5d435b
3 changed files with 10 additions and 2 deletions

View File

@@ -64,7 +64,12 @@ function record(options: recordOptions = {}): listenerHandler | undefined {
}),
isCheckout,
);
const [node, idNodeMap] = snapshot(document, blockClass, inlineStylesheet);
const [node, idNodeMap] = snapshot(
document,
blockClass,
inlineStylesheet,
maskAllInputs,
);
if (!node) {
return console.warn('Failed to snapshot the document');
}