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
  • Programmatically rendering components
  • ElementRef
  • Injector
  • ViewRef
  • ChangeDetectorRef
  • Type

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — ComponentRef • Angular

API

    
      abstract class ComponentRef<C> {}
    
    

Updates a specified input name to a new value. Using this method will properly mark for check component using the OnPush change detection strategy. It will also assure that the OnChanges lifecycle hook runs when a dynamically created component is change-detected.

@paramnamestring

The name of an input.

@paramvalueunknown

The new value of an input.

@returnsvoid

The host or anchor element for this component instance.

The dependency injector for this component instance.

This component instance.

The host view defined by the template for this component instance.

The change detector for this component instance.

The type of this component (as created by a ComponentFactory class).

Destroys the component instance and all of the data structures associated with it.

@returnsvoid

A lifecycle hook that provides additional developer-defined cleanup functionality for the component.

@paramcallbackFunction

A handler function that cleans up developer-defined data associated with this component. Called when the destroy() method is invoked.

@returnsvoid
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.