Ashish Patel: Notes

Atom feed

Recently added: Abstraction, Xunit, Publisher subscriber pattern, Request reply pattern, Middleware pattern

Data binding defines the communication between a component and DOM. There are three types

  1. From the component to the DOM
    <li>Age: {{user.age}}</li>
  2. From the DOM to the Component
    <button (click)="register()"></button
  3. Two-way binding(It allows to have the data flow both ways. Both the DOM and component property are in sync)
    <input type="name" [(ngModel)]="">

Created 2019-01-23T11:45:03+05:18, updated 2022-01-29T02:34:00+00:00 · History · Edit