angular 11 viewchildren elementref code example Example: @viewchild elementref @ViewChild('ID', {static: true}) NAME: ElementRef | undefined;