@univerjs/slides v0.4.2 • 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 (opens in a new tab) |
zIndex | number | 0 | slides/src/views/render/adaptor.ts:22 (opens in a new tab) |
Methods
check()
check(type): undefined | ObjectAdaptor
Parameters
Parameter | Type |
---|---|
type | PageElementType |
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
Parameter | Type |
---|---|
pageElement | IPageElement |
mainScene | Scene |
Returns
Defined in
slides/src/views/render/adaptor.ts:33 (opens in a new tab)
create()
create(injector): void
Parameters
Parameter | Type |
---|---|
injector | Injector |
Returns
void