@univerjs/slides v0.5.0-beta.1 • Docs
Class: abstract
ObjectAdaptor
Constructors
new ObjectAdaptor()
new ObjectAdaptor(): ObjectAdaptor
Returns
Properties
Property | Type | Default value | Defined in |
---|---|---|---|
viewKey | null | PageElementType | null | slides/src/views/render/adaptor.ts:24 |
zIndex | number | 0 | slides/src/views/render/adaptor.ts:22 |
Methods
check()
check(type): undefined | ObjectAdaptor
Parameters
Parameter | Type |
---|---|
type | PageElementType |
Returns
undefined
| ObjectAdaptor
Defined in
slides/src/views/render/adaptor.ts:26
convert()
abstract convert(pageElement, mainScene): Nullable<BaseObject>
Parameters
Parameter | Type |
---|---|
pageElement | IPageElement |
mainScene | Scene |
Returns
Defined in
slides/src/views/render/adaptor.ts:33
create()
create(injector): void
Parameters
Parameter | Type |
---|---|
injector | Injector |
Returns
void
Defined in
slides/src/views/render/adaptor.ts:35