Vue.js thumbnail
Vue.js
vuejs.org
Vue uses an HTML-based template syntax that allows you to declaratively bind the rendered DOM to the underlying component instance's data Under the hood, Vue compiles the templates into highly-optimized JavaScript code. Here we're encountering something new. The v-html attribute you're seeing is cal
15 Users
0 Comments
181 Highlights
1 Notes

Top Highlights

  • Vue uses an HTML-based template syntax that allows you to declaratively bind the rendered DOM to the underlying component instance's data
  • Under the hood, Vue compiles the templates into highly-optimized JavaScript code.
  • Here we're encountering something new. The v-html attribute you're seeing is called a directive.
  • certain characters, such as spaces and quotes, are invalid inside HTML attribute names
  • Directives are prefixed with v- to indicate that they are special attributes provided by Vue,

Domain

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.