DependencyDefineExtension

Interface

The extension interface for DependencyDefine extension point.

Inheritance: DependencyDefineExtensionBaseExtension

Properties

id
id: string

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

index optional
index: number

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

name optional
name: string

The extension name.

widgetId optional
widgetId: string

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

Methods

getDependencyKey
getDependencyKey(): string

Return the dependency key.

Returns 
string
getResources
getResources(): Resource[]

Return the resources.

Returns 
Resource[]
postInit optional
postInit(): Promise<void>

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

Returns 
Promise<void>

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