add keepIframeSrcFn option (#81)

* add allowIframe option to snapshot

* rename allowIframe to keepIframeSrcFn
This commit is contained in:
bachmanity1
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 61074a2303
commit 9110664ca2
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;