@univerjs/core v0.4.2 • Docs
Interface: IResourceHook<T>
Type Parameters
Type Parameter | Default type |
---|---|
T | any |
Properties
Property | Type | Defined in |
---|---|---|
businesses | UniverInstanceType [] | submodules/univer/packages/core/src/services/resource-manager/type.ts:28 (opens in a new tab) |
onLoad | (unitID : string , resource : T ) => void | submodules/univer/packages/core/src/services/resource-manager/type.ts:29 (opens in a new tab) |
onUnLoad | (unitID : string ) => void | submodules/univer/packages/core/src/services/resource-manager/type.ts:30 (opens in a new tab) |
parseJson | (bytes : string ) => T | submodules/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 ) => string | submodules/univer/packages/core/src/services/resource-manager/type.ts:31 (opens in a new tab) |