ElementRef • Angular

Use with caution

Use this API as the last resort when direct access to DOM is needed. Use templating and data-binding provided by Angular instead. If used, it is recommended in combination with DomSanitizer for maxiumum security;