Files
oa/documentation/plugins/credit-card/v-credit-card-documentation.md
2025-05-24 01:49:48 +09:00

710 B

state
state
flipped
false

VCreditCard

Vuero ships with the <VCreditCard /> component, a custom credit card previewer. Check the code for more details.

<script setup lang="ts">

const flipped = ref(null)
</script>

<template>
  <VField>
    <VControl>
      <VCreditCard
        color="grey"
        :flipped="flipped"
        @flip="flipped = !flipped"
      />
    </VControl>
  </VField>
</template>