vue中的翻页_Vue中的通用翻页卡,允许每面完全任意内容

vue中的翻页

VUE翻页卡 (vue-flip-card)

Generic flip card that allows for completely arbitrary content on each side. Slot-ified version of Karakanb's awesome vue-info-card component, which you can find here.

通用翻页卡,允许每面完全任意内容。 Karakanb出色的vue-info-card组件的插槽限定版本,您可以在这里找到

安装 (Installation)

FlipCard uses vuetify with md-icons as the icon that you click to flip the cards, but you can put whatever you want in there instead if you dont use vuetify.

FlipCard使用带有md-icons的vuetify作为您用来翻转卡片的图标,但是如果您不使用vuetify,则可以在其中放置任何想要的东西。

用法 (Usage)

Take a look at this sick example, right here boys:

看看这个病态的例子,就在这里,男孩们:

<template>
  <FlipCard>
    <template slot="front">
      <span>Hey loser</span>
    </template>
    <template slot="back">
      <span>Thought u could get rid of me loser?</span>
    </template>
  </FlipCard>
</template>

<script>
import FlipCard from 'vue-flip-card';

export default {
  components: {
    FlipCard,
  }
};
</script>

道具 (Props)

Throw whatever you want in those slots

将您想要的东西扔到这些插槽中

翻译自: https://vuejsexamples.com/generic-flip-card-in-vue-that-allows-completely-arbitrary-content-on-each-side/

vue中的翻页

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值