add keepIframeSrcFn option (#592)
* rename allowIframe to keepIframeSrcFn * update rrweb-snapshot to 1.1.5
This commit is contained in:
2
typings/types.d.ts
vendored
2
typings/types.d.ts
vendored
@@ -147,6 +147,7 @@ export declare type recordOptions<T> = {
|
||||
collectFonts?: boolean;
|
||||
plugins?: RecordPlugin[];
|
||||
mousemoveWait?: number;
|
||||
keepIframeSrcFn?: KeepIframeSrcFn;
|
||||
};
|
||||
export declare type observerParam = {
|
||||
mutationCb: mutationCallBack;
|
||||
@@ -417,4 +418,5 @@ export declare type MaskTextFn = (text: string) => string;
|
||||
export declare type ElementState = {
|
||||
scroll?: [number, number];
|
||||
};
|
||||
export declare type KeepIframeSrcFn = (src: string) => boolean;
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user