@angular/core

Input

decorator

Decorator that marks a class field as an input property and supplies configuration metadata. The input property is bound to a DOM property in the template. During change detection, Angular automatically updates the data property with the DOM property's value.

  
    class Input {}
  
  
Jump to details