Skip to main content
Skip table of contents

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:


JavaScript errors detected

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

If this problem persists, please contact our support.