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

1
typings/types.d.ts vendored
View File

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