add keepIframeSrcFn option (#592)
* rename allowIframe to keepIframeSrcFn * update rrweb-snapshot to 1.1.5
This commit is contained in:
@@ -220,6 +220,7 @@ export type recordOptions<T> = {
|
||||
plugins?: RecordPlugin[];
|
||||
// departed, please use sampling options
|
||||
mousemoveWait?: number;
|
||||
keepIframeSrcFn?: KeepIframeSrcFn;
|
||||
};
|
||||
|
||||
export type observerParam = {
|
||||
@@ -552,3 +553,5 @@ export type ElementState = {
|
||||
// [scrollLeft,scrollTop]
|
||||
scroll?: [number, number];
|
||||
};
|
||||
|
||||
export type KeepIframeSrcFn = (src: string) => boolean;
|
||||
|
||||
Reference in New Issue
Block a user