Preparing search index...
The search index is not available
@umbraco-cms/backoffice
@umbraco-cms/backoffice
libs/extension-api
createExtensionElementWithApi
Function createExtensionElementWithApi
create
Extension
Element
With
Api
<
ElementType
,
ApiType
>
(
manifest
,
constructorArgs
?
,
fallbackElement
?
,
fallbackApi
?
)
:
Promise
<
{
api
?:
ApiType
;
element
?:
ElementType
;
}
>
Type Parameters
ElementType
extends
UmbControllerHostElement
ApiType
extends
UmbApi
=
UmbApi
Parameters
manifest
:
ManifestElementAndApi
<
ElementType
,
ApiType
>
Optional
constructorArgs
:
unknown
[]
|
UmbApiConstructorArgumentsMethodType
<
ManifestElementAndApi
<
ElementType
,
ApiType
>
>
Optional
fallbackElement
:
string
Optional
fallbackApi
:
ApiLoaderProperty
<
ApiType
>
Returns
Promise
<
{
api
?:
ApiType
;
element
?:
ElementType
;
}
>
Returns an object with the created element and api.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@umbraco-cms/backoffice
Loading...
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R