-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
can you record a video of how the main mechanism works?
how the plugin works.. as it was written..
can be explain to on what occupations https://scrimba.com
I use the code for the checkbox menu thx!
<input v-model="checked" type="checkbox" id="checkbox-menu">
<label for="checkbox-menu">checkbox menu</label>
<div v-on-clickaway="away" class="menu_elements"> .... </div>
mixins: [ clickaway ],
name: "bodyfooter",
data(){return{
checked: false
}
},
methods: {
away: function() {
// console.log('clicked away');
//this.checked = !this.checked
if (this.checked){
this.checked = 0
}
},
dmaicher
Metadata
Metadata
Assignees
Labels
No labels