Binding Text
- Semantic syntax
- Declarative syntax
- One-time bindings
-------------------------------------------------------
Creating Semantic Bindings
- Users double curly braces {{...}}
- Often referred to as mustaches
===================================
Declarative Bindings
- Created via directives
- All baked-in directives begin with "v-"
- Instead of saying "v-text", I'll say "text directive"
https://github.com/ecofic/course-vue-getting-started
===============================================
One Time Bindings
- v-once renders element once
- Children only get rendered once
- Helps optimize view performance
===============================================
Binding to HTML
v-html
- Updates the innerHTML property
- Cannot nest bindings
- Only bind to HTML you trust
- Do not bind to user-generated HTML
===============================================
Binding to HTML attributes
http://blog.csdn.net/u012596785/article/details/79491752