docs: fix typos in the "Attribute Binding" guide (#39562)

PR Close #39562
This commit is contained in:
Aristeidis Bampakos 2020-11-04 13:24:25 +02:00 committed by Joey Perrott
parent e96b379385
commit 9262702ef7
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ To use attribute binding with the `<td>` attribute `colspan`:
1. Specify the `colspan` attribute by using the following syntax: `[attr.colspan]`.
1. Set `[attr.colspan]` equal to an expression.
In the following example, binds the `colspan` attribute to the expression `1 + 1`.
In the following example, we bind the `colspan` attribute to the expression `1 + 1`.
<code-example path="attribute-binding/src/app/app.component.html" region="colspan" header="src/app/app.component.html"></code-example>
@ -177,7 +177,7 @@ You can write a style property name in either [dash-case](guide/glossary#dash-ca
### Binding to multiple styles
To toggle multiple styles, bind to the `[style]` attribute&mdash;for example, `[style]="styleExpression"`).
To toggle multiple styles, bind to the `[style]` attribute&mdash;for example, `[style]="styleExpression"`.
The expression is often a string list of styles such as `"width: 100px; height: 100px;"`.
You can also format the expression as an object with style names as the keys and style values as the values, such as `{width: '100px', height: '100px'}`.