/
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
, multiple selections available,
Related content
Call class page function from element Event
Call class page function from element Event
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
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
How to manage the Alert component buttons?
How to manage the Alert component buttons?
More like this
(c) Convertigo 2023 https://www.convertigo.com