new $k.ApplicationConfiguration()
Configuration of an application
Extends
Methods
static$k.ApplicationConfiguration.from(configurationElement) : $k.ViewConfiguration
Returns the application confguration defined by the element
| Name | Type | Description | 
|---|---|---|
| configurationElement | $k.SemanticElement | The application configuration element (use semantic element, identifier oder element id) | 
- Since:
- 4.4.0
 
Returns:
| Type | Description | 
|---|---|
| $k.ViewConfiguration | 
panelContents(semanticElement, keyFilter, detailFilter) : object
Render the panel contents as a literal object
| Name | Type | Description | 
|---|---|---|
| semanticElement | $k.SemanticElement | optional | 
| keyFilter | object | optional Alternative 1: An array of strings defining a filter which property names to include. {"exclude": ["key1", ...]}includes all but the listed properties, while{"include": ["key1", ...]}or["key1", ...]includes only the listed properties. Non-optional properties are always included Alternative 3: A JSONRenderContext | 
| detailFilter | object | optional A filter to define the granularity of the JSON structure [ "schema" ]includes json with schema information | 
- Since:
- 4.4.0
 
Returns:
| Type | Description | 
|---|---|
| object | The panel contents | 
render(keyFilter, detailFilter) : object
Render panels as a literal object
| Name | Type | Description | 
|---|---|---|
| keyFilter | object | optional Alternative 1: An array of strings defining a filter which property names to include. {"exclude": ["key1", ...]}includes all but the listed properties, while{"include": ["key1", ...]}or["key1", ...]includes only the listed properties. Non-optional properties are always included Alternative 3: A JSONRenderContext | 
| detailFilter | object | optional A filter to define the granularity of the JSON structure [ "schema" ]includes json with schema information | 
- Since:
- 4.4.0
 
Returns:
| Type | Description | 
|---|---|
| object | The rendered object |