Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.3k 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 OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...