Skip to content

Commit

Permalink
feat(doc): note about style vs css attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu85 authored and Ats Uiboupin committed Jul 27, 2016
1 parent b02ffb8 commit 78f4cd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/article/en-US/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ We're almost there! There's one thing that's missing. Notice that if you check a

This final example shows how we can bind css directly on any HTML element. It also shows how we can use our `\${}` syntax directly inside any attribute. In this case, we want to add the `text-decoration` of `line-through` whenever the todo's `done` property is true, otherwise we want the `none` value.

> Warning: style vs css attribute
> Use the `style` attribute's alias, `css` when doing string interpolation to ensure your application is compatible with Internet Explorer and Edge, if you care about supporting these browsers.
Run the application one more time and you should see the expected result:

![Todo App With CSS](img/todo-app-with-css.png)
Expand Down

0 comments on commit 78f4cd9

Please sign in to comment.