2.0.10 • Published 3 years ago

@fiteo/outfit-carousel-vue2 v2.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@fiteo/outfit-carousel-vue2

Outfit Carousel - Desktop and Mobile Web - Vue2 from https://fiteo.store/

Scripts

  npm i @fiteo/outfit-carousel-vue2

PropTypes

PropertiesTypeDefaultDescription
productId: (required)String"123456"Get the outfit list by product id.
privateKey: (required)String"123456ABCDEF"The key to use this component.
size: (optional)String"12" or "12,14"filter by size.
onClickProduct: (optional)FunctioncallbackFunction(productId)Callback Function trigger when click on the product with parameter is: productId.
nameSize: (optional)String"1.15"Set the font size value for the outfit's name (rem).
tagSize: (optional)String"0.9"Set the font size value for the outfit's tags (rem).

Usage

<template>
  <outfit-carousel
    productId="123456"
    privateKey="123456ABCDEF"
    size="12,14"
    :onClickProduct="handleClickProduct"
    nameSize="1.15"
    tagSize="0.9"
  />
</template>

<script>
import OutfitCarousel from "@fiteo/outfit-carousel-vue2"

export default {
  components: { OutfitCarousel }
  methods: {
    handleClickProduct(productId) {
      console.log("...productId", productId)
    },
  },
}
</script>
2.0.10

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago