@univerjs/slides v0.5.0-beta.1Docs


Class: ObjectProvider

Constructors

new ObjectProvider()

new ObjectProvider(_injector): ObjectProvider

Parameters

ParameterType
_injectorInjector

Returns

ObjectProvider

Defined in

slides/src/views/render/object-provider.ts:29

Methods

convertToRenderObject()

convertToRenderObject(pageElement, mainScene): undefined | BaseObject

Parameters

ParameterType
pageElementIPageElement
mainSceneScene

Returns

undefined | BaseObject

Defined in

slides/src/views/render/object-provider.ts:46


convertToRenderObjects()

convertToRenderObjects(pageElements, mainScene): BaseObject[]

Parameters

ParameterType
pageElementsobject
mainSceneScene

Returns

BaseObject[]

Defined in

slides/src/views/render/object-provider.ts:33