$parent Magic Action | Livewire Course #36 | Urdu & Hindi
In this video, you will learn how to use parent magic function in livewire 3. If you have a parent component and there is a child component it and you want to update the value in parent component from child component, for this purpose you can use $parent magic function / action. You will also learn how you can pass dynamic parameters with it too.
🧲 Timestamps:
00:00 – Introduction
00:34 – Setup Parent function
00:51 – Setup Child function
01:17 – Testing
01:50 – Passing value to parent
02:29 – Conclusion
🧲 Checkout our projects at GitHub:
🧲 VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark
🧲 Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox
Please Ignore Negative Comments 🙂
[ad_2]
source