search

Home  >  Q&A  >  body text

angular.js - How is AngularJS's two-way binding implemented?

RT, I want to learn it, but I don’t know how to implement it. Forget about the theory, it’s better to have code, because the code is easier to understand, thank you

阿神阿神2865 days ago547

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-15 17:00:25

    You can read the first article of my column. I wrote an mvvm library similar to ng, called ukulelejs. The principle should be similar to ng, and it is also based on dirty detection. However, I have not read the source code of ng. The code is available for you on github. For reference.

    reply
    0
  • Cancelreply