While slots are used to pass data from parent to child component, the other way around is also possible with slots. In this video, i demo how to pass data from child component to parent component using named scoped slot... i would rather call it a scoped property in a named slot but will go with Vue's convention of calling the whole thing as named scoped slot!
- Күн бұрын
VueJS under 5: Named scoped slot
- Рет қаралды 19
Пікірлер