
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@types/swipe
Advanced tools
TypeScript definitions for swipe
npm install --save @types/swipe
This package contains type definitions for swipe (https://github.com/thebird/Swipe).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/swipe.
interface SwipeOptions {
startSlide?: number | undefined;
speed?: number | undefined;
auto?: number | undefined;
continuous?: boolean | undefined;
disableScroll?: boolean | undefined;
stopPropagation?: boolean | undefined;
callback?: ((index: number, elem: HTMLElement) => void) | undefined;
transitionEnd?: ((index: number, elem: HTMLElement) => void) | undefined;
}
declare class Swipe {
constructor(container: HTMLElement, options?: SwipeOptions);
prev(): void;
next(): void;
getPos(): number;
getNumSlides(): number;
kill(): void;
attachEvents(): void;
setup(): void;
slide(index: number, duration: number): void;
}
These definitions were written by Andrey Kurdyumov.
FAQs
TypeScript definitions for swipe
The npm package @types/swipe receives a total of 35 weekly downloads. As such, @types/swipe popularity was classified as not popular.
We found that @types/swipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.