Skip to content

Instantly share code, notes, and snippets.

@JCharante
Last active May 29, 2017 19:41
Show Gist options
  • Save JCharante/6a9834094918e79742764d1da05cb208 to your computer and use it in GitHub Desktop.
Save JCharante/6a9834094918e79742764d1da05cb208 to your computer and use it in GitHub Desktop.
List Item Component w/ More Vert Popover
<template>
<div>
<q-list-item
:item="{
label: 'I\'m a label',
secondIcon: 'more_vert'
}"
link
></q-list-item>
<q-popover>
<div class="list">
<div class="item item-link" @click="$refs.popover.close()">
<div class="item-content">Edit</div>
</div>
<div class="item item-link" @click="$refs.popover.close()">
<div class="item-content">Delete</div>
</div>
</div>
</q-popover>
</div>
</template>
<script>
import { Dialog, Toast } from 'quasar'
export default {
data () {
return {}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment