Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所有现代 JavaScript 框架似乎都同意声明式数据绑定,我注意到最近有人在讨论它。有人可以简单地向我解释一下吗?
基本上它将javascript变量绑定到字段
一些伪代码
<input type="checkbox" data-bind="{ personObj.hasStuff }" />