API Reference
@univerjs
@univerjs/core
interfaces
Iresourcehook

@univerjs/core v0.4.2Docs


Interface: IResourceHook<T>

Type Parameters

Type ParameterDefault type
Tany

Properties

PropertyTypeDefined in
businessesUniverInstanceType[]submodules/univer/packages/core/src/services/resource-manager/type.ts:28 (opens in a new tab)
onLoad(unitID: string, resource: T) => voidsubmodules/univer/packages/core/src/services/resource-manager/type.ts:29 (opens in a new tab)
onUnLoad(unitID: string) => voidsubmodules/univer/packages/core/src/services/resource-manager/type.ts:30 (opens in a new tab)
parseJson(bytes: string) => Tsubmodules/univer/packages/core/src/services/resource-manager/type.ts:33 (opens in a new tab)
pluginName`SHEET_${string}_PLUGIN` | `DOC_${string}_PLUGIN`submodules/univer/packages/core/src/services/resource-manager/type.ts:27 (opens in a new tab)
toJson(unitID: string, model?: T) => stringsubmodules/univer/packages/core/src/services/resource-manager/type.ts:31 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.