/
Get element or value from Identifier property
Convertigo Public Knowledge base
Get element or value from Identifier property
Most of Convertigo components have an Identifier property. This is equivalent to the Angular ViewChild, a property decorator that configures a view query (e.g. query <my-component #cmp></my-component> with @ViewChild('cmp')).
To retrieve the element or its value (if component defines a value property) in a customAction component, use:
let cmp_element = page['cmp'];
let cmp_value = page['cmp'].value;
or, in a TS field property, use:
this['cmp'].value
Related content
Call a variable from CustomAction component
Call a variable from CustomAction component
More like this
Passing parameters to a page
Passing parameters to a page
More like this
Use Form component with SharedComponents Inputs
Use Form component with SharedComponents Inputs
More like this
Call a custom Page function from a customAction component
Call a custom Page function from a customAction component
More like this
Declare custom variables in forms data source
Declare custom variables in forms data source
More like this
How to pass data parameters to a Sequence on onSubmit event of a form?
How to pass data parameters to a Sequence on onSubmit event of a form?
More like this
(c) Convertigo 2023 https://www.convertigo.com