Skip to content

Instantly share code, notes, and snippets.

@JCharante
Created July 14, 2017 15:32
Show Gist options
  • Save JCharante/02bd6dd0f40621ca2e8a1058403e9fb4 to your computer and use it in GitHub Desktop.
Save JCharante/02bd6dd0f40621ca2e8a1058403e9fb4 to your computer and use it in GitHub Desktop.
<template>
<q-layout ref="layout">
<div class="layout-view">
<q-fixed-position corner="top-right" :offset="[18, 18]">
<q-btn round small color="purple" icon="fa-question" class="animate-pop" @click="testMethod()"/>
</q-fixed-position>
</div>
</q-layout>
</template>
<script>
import {
QPullToRefresh,
QLayout,
QBtn,
QFixedPosition,
QModal
} from 'quasar'
export default {
methods: {
testMethod () {
console.log(cordova)
}
},
components: {
QLayout,
QPullToRefresh,
QBtn,
QFixedPosition,
QModal
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment