Node | Description |
---|
Method | Description |
---|---|
sap.ui.core.ExtensionPoint.load |
Creates 0..n UI5 controls from an One control if the |
sap.ui.core.ExtensionPoint.registerExtensionProvider |
Registers a function, which will be called by the XMLTemplateProcessor to retrieve an ExtensionProvider Class. The registered module will be loaded once an ExtensionPoint is encountered during XMLView processing. |
Creates 0..n UI5 controls from an ExtensionPoint
.
One control if the ExtensionPoint
is e.g. filled with a View
, zero for extension points without configured extension and n controls for multi-root Fragments
as extension.
Param | Type | DefaultValue | Description |
---|---|---|---|
mOptions | object |
an object map (see below) |
|
container | sap.ui.core.mvc.View sap.ui.core.Fragment |
The view or fragment containing the extension point |
|
name | string |
The |
|
createDefaultContent | function |
Optional callback function creating default content, returning an array of controls. It is executed when there's no customizing, if not provided, no default content will be rendered. |
|
async | boolean | false |
Whether the ExtensionPoint content should be loaded asynchronously |
Registers a function, which will be called by the XMLTemplateProcessor to retrieve an ExtensionProvider Class. The registered module will be loaded once an ExtensionPoint is encountered during XMLView processing.
Param | Type | DefaultValue | Description |
---|---|---|---|
fnExtensionProvider | function undefined null |
Accepted values are: |