API Reference
@univerjs
@univerjs/slides
classes
Objectadaptor

@univerjs/slides v0.4.2Docs


Class: abstract ObjectAdaptor

Constructors

new ObjectAdaptor()

new ObjectAdaptor(): ObjectAdaptor

Returns

ObjectAdaptor

Properties

PropertyTypeDefault valueDefined in
viewKeynull | PageElementTypenullslides/src/views/render/adaptor.ts:24 (opens in a new tab)
zIndexnumber0slides/src/views/render/adaptor.ts:22 (opens in a new tab)

Methods

check()

check(type): undefined | ObjectAdaptor

Parameters

ParameterType
typePageElementType

Returns

undefined | ObjectAdaptor

Defined in

slides/src/views/render/adaptor.ts:26 (opens in a new tab)


convert()

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

Parameters

ParameterType
pageElementIPageElement
mainSceneScene

Returns

Nullable<BaseObject>

Defined in

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


create()

create(injector): void

Parameters

ParameterType
injectorInjector

Returns

void

Defined in

slides/src/views/render/adaptor.ts:35 (opens in a new tab)


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