Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fex-swiper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fex-swiper - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/types/swiper.d.ts

@@ -52,5 +52,5 @@ /**

private transitionEndHandler(event?);
swipeTo(toIndex: number, transition: Transition): void;
swipePrev(transition: Transition): void;
swipeNext(transition: Transition): void;
swipeTo(toIndex: number, transition?: Transition): void;
swipePrev(transition?: Transition): void;
swipeNext(transition?: Transition): void;
getCurrentIndex(): number;

@@ -57,0 +57,0 @@ private _swipeTo();

{
"name": "fex-swiper",
"version": "1.0.4",
"version": "1.0.5",
"description": "a H5 swiper powered by FEX",

@@ -5,0 +5,0 @@ "main": "dist/swiper.umd.js",

@@ -364,3 +364,3 @@ /**

public swipeTo(toIndex: number, transition: Transition) {
public swipeTo(toIndex: number, transition?: Transition) {
if (this.sliding) {

@@ -400,3 +400,3 @@ return;

public swipePrev(transition: Transition) {
public swipePrev(transition?: Transition) {
var currentIndex = this.currentPage.index;

@@ -406,3 +406,3 @@ this.swipeTo(currentIndex - 1, transition);

public swipeNext(transition: Transition) {
public swipeNext(transition?: Transition) {
var currentIndex = this.currentPage.index;

@@ -409,0 +409,0 @@ this.swipeTo(currentIndex + 1, transition);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc