Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.9k views
in Technique[技术] by (71.8m points)

vue component - What is v-mdl in vue.js?

What is v-mdl (not v-model) in vue.js ? I have started working on a project and I am seeing v-mdl in some places as follows:

<div :id="id" v-mdl class="item" @click="toggle()">

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

v-mdl is probably an custom directive created in somewhere else.

You can find documentation about custom directives here: https://vuejs.org/v2/guide/custom-directive.html


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...