HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

#11 - Add "v-model" directive on custom input Component | Vue 2 Components, Beginners tutorial

18,290 views November 8, 2019 14:02

Watch on YouTube
ChannelQiroLab

Description from the creator

How to add v-model directive on custom input Components?
Vue.js has a v-model built-in directive that simulates 2-way binding and capturing input events. If you are going to develop a custom input component, at that point you'll certainly need to support the v-model directive. To let component support v-model two-way binding, that the component needs to accept a "value" prop and emit an "input" event.

𝐕𝐮𝐞.𝐣𝐬 𝟐 𝐂𝐨𝐦𝐩𝐨𝐧𝐞𝐧𝐭𝐬 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭:
youtube.com/playlist?list=PL1TrjkMQ8UbVu4dvX2gt…

𝐃𝐢𝐠𝐢𝐭𝐚𝐥𝐎𝐜𝐞𝐚𝐧 𝐑𝐞𝐟𝐞𝐫𝐫𝐚𝐥
m.do.co/c/e740238537d0

Also, follow us on:
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: fb.com/qirolab
𝐓𝐰𝐢𝐭𝐭𝐞𝐫: twitter.com/qirolab

About this tutorial

QiroLab published this 14:02 video tutorial on November 8, 2019. It has been watched 18,290 times on YouTube.

Channel
QiroLab
Duration
14:02
Published
November 8, 2019
Views
18,290
Likes
273

Tags

Share

This tutorial in other languages