@univerjsslidesclassesObjectadaptor

@univerjs/slides v0.5.4


Class: abstract ObjectAdaptor

Defined in: slides/src/views/render/adaptor.ts:21

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

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

Parameters

ParameterType
typePageElementType

Returns

undefined | ObjectAdaptor


convert()

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

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

Parameters

ParameterType
pageElementIPageElement
mainSceneScene

Returns

Nullable<BaseObject>


create()

create(injector): void

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

Parameters

ParameterType
injectorInjector

Returns

void