Element CDK

Examples Setup

Directive is used to get a link to a native element as template reference variable (analogue of @ViewChild('ref', {read: ElementRef} for template)

Usage

#

component instanceof TuiAvatar : true

element instanceof ElementRef : true