shadow-function
Version:
ioing lib - shadow Function, worker Function
26 lines (25 loc) • 770 B
TypeScript
declare class Sandbox {
sandbox: HTMLIFrameElement;
shadowWindow: ShadowWindow;
window: Window;
document: Document;
content: Document;
windowOwnPropertyNames: Array<string>;
private white;
constructor(white?: boolean, properties?: string[], setting?: string);
static getWindowOwnPropertyNames(): string[];
static debugger(isee: string, model?: {
'safe-context': string;
}): void;
private shadow;
getProtoProperty(object: object): any;
delProtoProperty(object: object, name: string): any;
set(allow: string): void;
reset(allow: string): this;
open(): this;
write(context?: string): this;
close(): this;
enter(): void;
exit(): void;
}
export { Sandbox };