Gathering detailed insights and metrics for vue-tiny-slider
Gathering detailed insights and metrics for vue-tiny-slider
Gathering detailed insights and metrics for vue-tiny-slider
Gathering detailed insights and metrics for vue-tiny-slider
vue3-tiny-slider
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
@frsource/tiny-carousel-vue
Brings @frsource/tiny-carousel into the Vue 2/3 world 💚
@mentorkadriu/vue-tiny-slider
## Installation ``` npm install @mentorkadriu/vue-tiny-slider ``` ## Usage
combine-vue-tiny-slider
Vanilla javascript slider for all purposes created by ganlanyuan in Vue.
Vanilla javascript slider for all purposes created by ganlanyuan in Vue.
npm install vue-tiny-slider
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
133 Stars
159 Commits
49 Forks
7 Watchers
8 Branches
10 Contributors
Updated on Feb 01, 2025
Latest Version
0.1.39
Package Id
vue-tiny-slider@0.1.39
Unpacked Size
51.54 kB
Size
18.81 kB
File Count
8
NPM Version
6.12.0
Node Version
12.13.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
5
Wrapper for Tiny slider for all purposes by ganlanyuan in Vue. Try it out!
Firefox 12+, Chrome 15+, Safari 4+, Opera 12.1+, IE8+
npm install vue-tiny-slider
1import VueTinySlider from 'vue-tiny-slider'; 2 3new Vue({ 4 components: { 5 'tiny-slider': VueTinySlider 6 } 7})
1<tiny-slider :mouse-drag="true" :loop="false" items="2" gutter="20"> 2 <div>Slider item #1</div> 3 <div>Slider item #2</div> 4 <div>Slider item #3</div> 5 <div>Slider item #4</div> 6 <div>Slider item #5</div> 7 <div>Slider item #6</div> 8</tiny-slider>
SCSS
1@import 'tiny-slider/src/tiny-slider';
CDN
1<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.1/tiny-slider.css">
auto-init
items
mode
gutter
edge-padding
fixed-width
slide-by
controls
controls-text
controls-container
nav
nav-container
arrow-keys
speed
autoplay
autoplay-timeout
autoplay-direction
autoplay-text
autoplay-hover-pause
autoplay-button
autoplay-button-output
autoplay-reset-on-visibility
animate-in
animate-out
animate-normal
animate-delay
loop
rewind
auto-height
responsive
lazyload
touch
mouse-drag
nested
freezable
disable
on-init
center
lazy-load-selector
prevent-action-when-running
prevent-scroll-on-touch
nav-options
auto-width
For more detailed information about the options, see the Tiny-slider documentation (Options).
getInfo
goTo
destroy
To be able to use the methods, you need to use ref on the component. Ref is used to register a reference to an element or a child component.
<vue-tiny-slider ref="tinySlider"></vue-tiny-slider>
import VueTinySlider from 'vue-tiny-slider';
export default {
...,
methods: {
getInfo: function(event) {
this.$refs.tinySlider.slider.getInfo();
}
}
}
For more detailed information about the methods, see the Tiny-slider documentation (Methods).
yarn add vue-tiny-slider
or npm install vue-tiny-slider
In nuxt.config.js
add
1plugins: [{ src: '~/plugins/vue-tiny-slider.js', mode: 'client' }],
plugins/vue-tiny-slider.js
with this content1import Vue from 'vue' 2import vTinySlider from 'vue-tiny-slider' 3const VueTinySlider = { 4 install(Vue, options) { 5 Vue.component('VueTinySlider', vTinySlider) 6 } 7} 8Vue.use(VueTinySlider)
Now you should be able to use it in any component without any import, like this:
1<no-ssr> 2 <vue-tiny-slider v-bind="tinySliderOptions"> 3 <div>#1</div> 4 <div>#2</div> 5 <div>#3</div> 6 <div>#4</div> 7 <div>#5</div> 8 <div>#6</div> 9 </vue-tiny-slider> 10</no-ssr>
A demo is available here: https://codesandbox.io/s/jvjp349449.
This project is available under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/10 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
56 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More