Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vue3-carousel
Advanced tools
Modern lightweight Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
First step is to install it using yarn
or npm
:
npm install vue3-carousel
# or use yarn
yarn add vue3-carousel
<template>
<carousel :items-to-show="1.5">
<slide v-for="slide in 10" :key="slide">
{{ slide }}
</slide>
<template #addons>
<navigation />
<pagination />
</template>
</carousel>
</template>
<script>
// If you are using PurgeCSS, make sure to whitelist the carousel CSS classes
import 'vue3-carousel/dist/carousel.css';
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel';
export default {
name: 'App',
components: {
Carousel,
Slide,
Pagination,
Navigation,
},
};
</script>
Prop | Default | Description |
---|---|---|
itemsToShow | 1 | count of items to showed per view (can be a fraction). |
initialSlide | 0 | index number of the initial slide. |
wrapAround | false | enable infinite scrolling mode. |
snapAlign | 'center' | controls the carousel position alignment, can be 'start', 'end', or 'center' |
transition | 300 | sliding transition time in ms. |
settings | { } | an object to pass all settings. |
breakpoints | null | an object to pass all the breakpoints settings. |
FAQs
A simple carousel component for Vue 3
The npm package vue3-carousel receives a total of 65,407 weekly downloads. As such, vue3-carousel popularity was classified as popular.
We found that vue3-carousel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.