Code Code HQ

Monday, August 8, 2016

8. Two Way Binding

app.component.html

<h1>
  {{title}}
</h1>
<input type="text" [value]="title (input)="title=$event.target.value">
Preview:{{title}}
<courses>
</courses>
<authors>
</authors>


Posted by certainan at 4:51 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

certainan
View my complete profile

Blog Archive

  • ▼  2016 (37)
    • ►  September (4)
    • ▼  August (30)
      • 3. Modeling Application State
      • 2. Ajax Requests with React
      • 1. Introduction to React
      • 22. Connecting to the Server
      • 21. Adventures in Rx
      • 20. Reactive Extensions
      • 19. Building Forms with Complex Validation
      • 18. Building Forms with Basic Validation
      • 17. Rendering of HTML
      • 16. Twitter Component
      • 15. Create a Voter Component
      • 14. Create a Like Component
      • 13. Styles
      • 12. Templates
      • 11. Output Properties
      • 10. Input Properties
      • 9.Building a Favorite Component
      • 8. Two Way Binding
      • 7. Bindings
      • 6. Creating Components, Using Components, Template...
      • 5. Type Script Compilation
      • 4. First angular app
      • 2. Architecture of Angular 2
      • 3. Getting the Tools
      • 1. Introduction - What is Angular?
      • Pull to Refresh
      • Infinite Scroll
      • Importing other Javascript libraries
      • Ionic List Example
      • Single View App - Feed Reader App
    • ►  July (3)
Simple theme. Powered by Blogger.