Please enable JavaScript.
Coggle requires JavaScript to display documents.
knokout.js (<h1 data-bind="html: getName()"></h1>
…
knokout.js
-
-
DataBind Context
When you are accessing
properties to data bind, everything is relative to the context you are in
The root con‐
text is the ViewModel that was supplied to the ko.applyBindings function.
-
Data binding is accomplished by adding an HTML attribute called data-bind to any
HTML elemen
Knockout also allows you to specify data
bindings with HTML comments