@univerjsslidesclassesObjectadaptor

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


Class: abstract ObjectAdaptor

Constructors

new ObjectAdaptor()

new ObjectAdaptor(): ObjectAdaptor

Returns

ObjectAdaptor

Properties

PropertyTypeDefault valueDefined in
viewKeynull | PageElementTypenullslides/src/views/render/adaptor.ts:24
zIndexnumber0slides/src/views/render/adaptor.ts:22

Methods

check()

check(type): undefined | ObjectAdaptor

Parameters

ParameterType
typePageElementType

Returns

undefined | ObjectAdaptor

Defined in

slides/src/views/render/adaptor.ts:26


convert()

abstract convert(pageElement, mainScene): Nullable<BaseObject>

Parameters

ParameterType
pageElementIPageElement
mainSceneScene

Returns

Nullable<BaseObject>

Defined in

slides/src/views/render/adaptor.ts:33


create()

create(injector): void

Parameters

ParameterType
injectorInjector

Returns

void

Defined in

slides/src/views/render/adaptor.ts:35