API Reference
@univerjs
@univerjs/docs-ui
functions
Neogetdocobject

@univerjs/docs-ui v0.4.2Docs


Function: neoGetDocObject()

function neoGetDocObject(renderContext): {
  docBackground: DocBackground;
  document: Documents;
  engine: Engine;
  scene: Scene;
}

Parameters

ParameterType
renderContextIRenderContext<DocumentDataModel>

Returns

{
  docBackground: DocBackground;
  document: Documents;
  engine: Engine;
  scene: Scene;
}
NameTypeDefined in
docBackgroundDocBackgroundpackages/docs-ui/src/basics/component-tools.ts:36 (opens in a new tab)
documentDocumentspackages/docs-ui/src/basics/component-tools.ts:35 (opens in a new tab)
engineEnginepackages/docs-ui/src/basics/component-tools.ts:38 (opens in a new tab)
sceneScenepackages/docs-ui/src/basics/component-tools.ts:37 (opens in a new tab)

Defined in

packages/docs-ui/src/basics/component-tools.ts:29 (opens in a new tab)


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