You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: current/en-us/4. binding/1. basics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Aurelia supports binding HTML and SVG attributes to JavaScript expressions. Attr
18
18
*`to-view` / `one-way`: flows data one direction, from the view-model to the view.
19
19
*`from-view`: flows data one direction, from the view to the view-model.
20
20
*`two-way`: flows data both ways, from view-model to view and from view to view-model.
21
-
*`bind`: automically chooses the binding mode. Uses two-way binding for form controls and to-view binding for almost everything else.
21
+
*`bind`: automatically chooses the binding mode. Uses two-way binding for form controls and to-view binding for almost everything else.
22
22
*`expression`: a JavaScript expression.
23
23
24
24
Typically you'll use the `bind` command since it does what you intend most of the time. Consider using `one-time` in performance critical situations where the data never changes because it skips the overhead of observing the view-model for changes. Below are a few examples.
0 commit comments