Vue.js - The Hard Way (Ep15)
HTML-код
- Опубликовано: 28 ноя 2018
- Episode 15: CSS Class Bindings in Components
Reading the Vue.js documentation, page by page.
⭐️ Support the channel on Patreon:
/ christopherokhravi
► In this video:
- Binding css classes in components
- Hypothesis testing in programming
- Components as functions
- Components as objects (instances of classes)
► Playlist:
• Vue.js - The Hard Way
this was great. i specially liked the part about how we can pass down "information" from one component to the other (which was something hadn't really understood before)! :)
Great video ,,, thanks for this.
Thanks! And thanks for watching! :)
Beautiful cat!
😊😊😊😊
may it's better idea to rewrite the app in section Conditional Rendering, since Style Binding it's a bit like Class Binding.
Makes sense! Thanks! 😊😊
Great series, you make it so easy to follow along with your explanations.
I have one question about the last example regarding passing 'in-party-mode' to the cart-item component.
...
props: ['item', 'in-party-mode'],
template: '{{item.amount}} ps of {{ item.name }}'
...
Does Vue do some automatic kebabcasing to camelcasing, because what you are writing is clearly working.
Edit: You answered the question in the next video here: ruclips.net/video/13BCcr7ZBgM/видео.html
Thanks again for the great videos!
yeap, you could go through the docs while developing all that great things.
lets kill two birds with one stone