How to use the tiny-slider/src/tiny-slider.tns function in tiny-slider

To help you get started, we’ve selected a few tiny-slider examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github viktorlarsson / vue-tiny-slider / src / index.js View on Github external
mouseDrag: this.mouseDrag,
				nested: this.nested,
				freezable: this.freezable,
				disable: this.disable,
				onInit: this.onInit,
				swipeAngle: this.swipeAngle,
				startIndex: this.startIndex,
				center: this.center,
				lazyLoadSelector: this.lazyLoadSelector,
				preventActionWhenRunning: this.preventActionWhenRunning,
        preventScrollOnTouch: this.preventScrollOnTouch,
        autoWidth: this.autoWidth
			}
			removeUndefinedProps(settings);

			this.slider = tns(settings);

			// Emit init event
			this.$emit('init');
			// Subscribe to all kind of tiny-slider events
			this.$_vueTinySlider_subscribeToAll();
		},
	},

tiny-slider

Vanilla javascript slider for all purposes, inspired by Owl Carousel.

MIT
Latest version published 3 years ago

Package Health Score

58 / 100
Full package analysis

Similar packages