Dispatch (Emit) Events | Nuxt 3 Tutorials #28 | Urdu & Hindi

Published: 07 August 2024
on channel: WebMentor
56
1

In this video, you will learn how to dispatch events in Nuxt 3. We use $emit to emit events from a component and catch or accept them in a parent page/component to change a value or run a function.

🧲 Timestamps:
00:00 - Introduction
01:04 - Create item component
01:52 - Using $emit - Direct click
02:27 - Read $emit
02:54 - Passing Value with $emit
03:36 - Multiple Arguments
03:45 - Emit function
04:49 - Read props in script
05:18 - Naming convention
05:30 - Call 2nd Emit
06:02 - Fix Double Emit calls

🧲 Checkout our projects at GitHub:
https://github.com/webmentordev

🧲 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 :)


Watch video Dispatch (Emit) Events | Nuxt 3 Tutorials #28 | Urdu & Hindi online without registration, duration hours minute second in high quality. This video was added by user WebMentor 07 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 56 once and liked it 1 people.