API Reference
@univerjs
@univerjs/slides
classes
Objectprovider

@univerjs/slides v0.4.2Docs


Class: ObjectProvider

Constructors

new ObjectProvider()

new ObjectProvider(_injector): ObjectProvider

Parameters

ParameterType
_injectorInjector

Returns

ObjectProvider

Defined in

slides/src/views/render/object-provider.ts:29 (opens in a new tab)

Methods

convertToRenderObject()

convertToRenderObject(pageElement, mainScene): undefined | BaseObject

Parameters

ParameterType
pageElementIPageElement
mainSceneScene

Returns

undefined | BaseObject

Defined in

slides/src/views/render/object-provider.ts:46 (opens in a new tab)


convertToRenderObjects()

convertToRenderObjects(pageElements, mainScene): BaseObject[]

Parameters

ParameterType
pageElementsobject
mainSceneScene

Returns

BaseObject[]

Defined in

slides/src/views/render/object-provider.ts:33 (opens in a new tab)


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