Skip to main content
Skip table of contents

ComponentModel

The ComponentModel allows the introspection of components and their parameters.

implements: hash, scalar
bundle: online channel standard (oc)
since 4.2.0
The ComponentModel allows the introspection of components and their parameters.

The Component model allows the introspection of components and their parameters. Addressed as a scalar-model, it returns a string containing a short technical description of the component.

Component Parameter

@<String:key> ↦ TemplateModel
since 4.2.0
Returns a model of the parameter value of the current component with the name 'key'. Should no Parameter with the name 'key' exist, undefined will be returned.

id ↦ String
since 4.10.0
Returns the ID of the current component

parameter ↦ sequence<ParameterModel>
since 2021.2.1
Returns a map of all ParameterModels defined in the current component.

parameters ↦ sequence<ParameterModel>
since 4.2.0
Returns a sequence-model of all ParameterModels defined in the current component.

Rendering

render()String
since 4.2.0
Brings up the corresponding skin engine on the component and returns the result.

State

stateComponentStateModel
since 4.2.0
Returns a hash-model representing all states of all components within the current page.

[used as scalar] ↦ String
since 4.2.0
Returns a string containing a short technical description of the component.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.