NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/qiankun/lib/sandbox/index.d.ts

40 lines
1.5 KiB
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
/**
* @author Kuitos
* @since 2019-04-11
*/
import type { SandBox } from '../interfaces';
export { getCurrentRunningApp } from './common';
export { css } from './patchers';
/**
*
*
*
* 1. app
* app bootstrap
* app
* 2. render
* app mount render
*
* bootstrap
*
* @param appName
* @param elementGetter
* @param scopedCSS
* @param useLooseSandbox
* @param excludeAssetFilter
* @param globalContext
*/
export declare function createSandboxContainer(appName: string, elementGetter: () => HTMLElement | ShadowRoot, scopedCSS: boolean, useLooseSandbox?: boolean, excludeAssetFilter?: (url: string) => boolean, globalContext?: typeof window): {
instance: SandBox;
/**
* mount
* bootstrap mount
* unmount mount
*/
mount(): Promise<void>;
/**
* global 使
*/
unmount(): Promise<void>;
};