add keepIframeSrcFn option (#81)

* add allowIframe option to snapshot

* rename allowIframe to keepIframeSrcFn
This commit is contained in:
bachmanity1
2021-06-29 19:07:47 +09:00
committed by GitHub
parent 2cf4ddd9e2
commit b1a8b6926a
5 changed files with 20 additions and 5 deletions

View File

@@ -108,3 +108,6 @@ export type SlimDOMOptions = Partial<{
}>;
export type MaskTextFn = (text: string) => string;
export type KeepIframeSrcFn = (src: string) => boolean;