Integration - Vue

This package provides a Vue wrapper component for the Tiny Carousel.

To learn on how to install and use plugin, please see our usage guide or look into an example Vue app in the Tiny Carousel Vue repositoryopen in new window.

This integration supports both Vue 2 & 3.

Global API

definePlugin

  • Arguments:

    Same as carousel.use.

  • Returns: [plugin: PluginDefinition, options: PluginOptions]

  • Usage:

    Method used to properly format plugin configuration array before passing it to the TinyCarousel component. Add stricter TypeScript typings. Second argument (option) is dependent on the plugin you`re trying to use.

Components

TinyCarousel

Options

TinyCarouselComponent

  • Details:

    Data type describing TinyCarousel component. Use it to add the proper type to the carousel ref.