Created
July 14, 2017 15:32
-
-
Save JCharante/02bd6dd0f40621ca2e8a1058403e9fb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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