GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • Using DOM APIs
  • ElementRef

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — ElementRef • Angular

API

    
      class ElementRef<T = any> {}
    
    
@paramnativeElementT
@returnsElementRef<T>

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;

Description

A wrapper around a native element inside of a View.

An ElementRef is backed by a render-specific element. In the browser, this is usually a DOM element.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.