You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-csc-ui/test/jest/__tests__/demo/QBtn-demo.vue

30 lines
481 B

<template>
<div>
<p class="textContent">
{{ input }}
</p>
<span>{{ counter }}</span>
<q-btn
id="mybutton"
@click="increment()"
/>
</div>
</template>
<script>
export default {
name: 'QBUTTON',
data () {
return {
counter: 0,
input: 'rocket muffin'
}
},
methods: {
increment () {
this.counter++
}
}
}
</script>