bootstrapWorkerUi
Bootstraps the worker ui.
已弃用: platform-webworker is deprecated in Angular and will be removed in version 10
bootstrapWorkerUi(workerScriptUri: string, customProviders: StaticProvider[] = []): Promise<PlatformRef>
Deprecated platform-webworker is deprecated in Angular and will be removed in version 10
参数
workerScriptUri | string | |
customProviders | StaticProvider[] | 可选. 默认值是 |
返回值
Promise<PlatformRef>