Main Component added
This commit is contained in:
38
frontend/src/components/ActionNode.vue
Normal file
38
frontend/src/components/ActionNode.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<div class="q-pa-md" style="max-width: 350px">
|
||||
<q-expansion-item
|
||||
class="shadow-1 overflow-hidden"
|
||||
style="border-radius: 30px"
|
||||
icon="explore"
|
||||
label="Counter"
|
||||
@show="startCounting"
|
||||
@hide="stopCounting"
|
||||
header-class="bg-primary text-white"
|
||||
expand-icon-class="text-white"
|
||||
>
|
||||
<q-card>
|
||||
<q-card-section>
|
||||
Counting: <q-badge color="secondary">{{ counter }}</q-badge>.
|
||||
Will only count when opened, using the show/hide events to control count timer.
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
</q-expansion-item>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent} from "vue"
|
||||
export default defineComponent({
|
||||
props:{
|
||||
icon:String,
|
||||
|
||||
},
|
||||
setup() {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<style lang="">
|
||||
|
||||
</style>
|
||||
0
frontend/src/components/main/ActionNode.vue
Normal file
0
frontend/src/components/main/ActionNode.vue
Normal file
Reference in New Issue
Block a user