ElementRef

StableSecurity Risk

Class

Security Risk

Permitting direct access to the DOM can make your application more vulnerable to XSS attacks. Carefully review any use of ElementRef in your code. For more detail, see the Security Guide.

Class Overview

class ElementRef {
constructor(nativeElement: any)

nativeElement : any

}

Class Description

Constructor

constructor(nativeElement: any)

Class Details

exported from @angular/core/index, defined in @angular/core/src/linker/element_ref.ts