| Auszug |
|---|
|
Nuclos web client addon: layout addon, GUI component, LAYOUT_CONTEXT, getAddonProperty, addon-api, Angular, modularity. |
Language: Deutsch · English
Addon
Extend the web client with addons – layout components, dashboard, background functions and the addon API.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
With addons, the web client can be extended with (project-specific) functions that should not become part of the Nuclos core.
Advantages
- leaner web client, better performance;
- easily removable – no legacy code;
- clearly defined interfaces foster modularity;
- customer-specific extensions and use of non-open-source libraries possible.
Use cases
- layout addon: new GUI components in the layout of a detail form;
- addons in the dashboard or the result list;
- (hidden) background functions reacting to user interactions (similar to Groovy rules for calculated attributes in the Java client).
Accessing the context
Via a defined API, addons access data and functions of the web client, e.g. the layout context:
| Codeblock |
|---|
|
@Inject(LAYOUT_CONTEXT) private layoutContext: LayoutContext;
// ...
this.layoutContext.getAddonProperty('someProperty'); |
Related pages
JS web client development environment
Environment.
Open →