DependencyDefineExtension

Interface

The extension interface for DependencyDefine extension point.

Inheritance: DependencyDefineExtensionBaseExtension

Properties

Hide inherited properties
PropertyTypeNotes
() => string

Return the dependency key.

() => Resource[]

Return the resources.

id
inherited
string

The unique id. For widget's provided extension, the id pattern is: widgetId + extensionName

index
inherited
number

If an extension point supports multiple extensions, the index is used to determine the extension order.

name
inherited
string

The extension name.

() => Promise<void>

This method will be invoked after the resources are loaded. You can put post intialization code in this method.

widgetId
inherited
string

The widget id that provides the extension. No widget id means the extension is provided by Jimu.

getDependencyKey

Interface Property
getDependencyKey: () => string

Return the dependency key.

Type declaration
    function(): string
    Returns 
    string

getResources

Interface Property
getResources: () => Resource[]

Return the resources.

Type declaration
    function(): Resource[]
    Returns 
    Resource[]

id

inherited
Interface Property
id: string

The unique id. For widget's provided extension, the id pattern is: widgetId + extensionName

Inherited from BaseExtension.id

index

optionalinherited
Interface Property
index: number

If an extension point supports multiple extensions, the index is used to determine the extension order.

Inherited from BaseExtension.index

name

optionalinherited
Interface Property
name: string

The extension name.

Inherited from BaseExtension.name

postInit

optional
Interface Property
postInit: () => Promise<void>

This method will be invoked after the resources are loaded. You can put post intialization code in this method.

Type declaration
    function(): Promise<void>
    Returns 
    Promise<void>

widgetId

optionalinherited
Interface Property
widgetId: string

The widget id that provides the extension. No widget id means the extension is provided by Jimu.

Inherited from BaseExtension.widgetId

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.