swiper README

The project's README from github.com/nolimits4web/swiper. As one markdown file: README.md.

Get Started | Documentation | Demos

Build status jsDelivr Hits tree-shakeable types included

Swiper

Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps.

Swiper is not compatible with all platforms, it is a modern touch slider which is focused only on modern apps/platforms to bring the best experience and simplicity.

Features

Community

The Swiper community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects

Our Code of Conduct applies to all Swiper community channels.

Dist / Build

On production use files (JS and CSS) only from dist/ folder, there will be the most stable versions.

Development Build

Install all dependencies, in repo's root:


$ npm install

And build development version of Swiper:


$ npm run build

The result is available in dist/ folder.

Running demos:

All demos located in ./playground folder. There you will find Core (HTML, JS), React, Vue versions. To open demo, run:

Production Build


$ npm run build:prod

Production version will available in dist/ folder.

Contributing

All changes should be committed to src/ files only. Before you open an issue please review the contributing guideline.

Major Roadmapped Features

Sponsors

UpMyViews KaufenFollower BuztGrowth fun88 JBO Australian online casino Australian Online Pokies CasinoGam Non-GamStop Casinos Casino Wise Non-GamStop Casino Guides Non GamStop Casinos UK Reviews Casinos Online Mexico Kasino Ilman Rekisteröintiä
Evernomic สล็อตเว็บตรง Kasino Kurko: Uudet nettikasinot Uudet Nettikasinot Skilled Writers for In-Depth Academic Papers Masterpapers - Qualified writers delivering excellence in every word! Best Online Casinos Canada Grademiners - Professional writers, original content, quality you can trust! SS Market: Social Media Services Market Online sports betting and casino at Parimatch India Best Online Casinos in Canada #1 Sweepstakes Software for Internet Cafes
Buy Twitch Viewers Buy TikTok Views and Likes Buy YouTube Views, Likes, Subscribers Buy YouTube Subscribers Delta Executor Buy TikTok Likes from Bulkoid buy TikTok likes STAKE INDIA LINK LOGIN Free AI humanizer Zafame - Buy TikTok Likes, Followers & Views Snapchat Story Viewer View TikTok Stories
Buy Linkedin Followers WatchThis — JavaScript SEO Checker software-development-companies Buy Twitter Followers from SocialWick AI Song Generator Buy TikTok Likes Calgary SEO headshot.ltd Casino Online Non Aams siti non aams fun88 fun88
jbo Buy TikTok Likes Buy TikTok Followers Buy Instagram Likes and Views JBO Buy Real Youtube Subscriber

swiper (nolimits4web/swiper)

Searching Database…

41.9K ·GitHub
这是什么?Swiper 是一个免费开源的移动端触控滑动组件,带有硬件加速的过渡效果和接近原生的手感,专为移动网站、移动网页应用以及原生/混合应用打造。
它是加到我网页项目里的库,还是一个现成的应用?它是一个添加到你应用中的 JavaScript/TypeScript 库,而且支持 tree-shaking —— 只有你真正用到的模块才会进入打包结果。
我怎么把它加到项目里?从 dist/ 文件夹里取出用于生产的 JS 和 CSS 文件 —— README 说明只使用这些文件。想先实际体验一下,可以运行 playground 文件夹里的示例(有 Core、React 和 Vue 版本)。
它需要 jQuery 或其他库吗?不需要 —— Swiper 不依赖任何库,也不要求 jQuery 或类似的库,所以它体积小、速度快;它可以和 jQuery 或 Zepto 安全地共存在你的技术栈里。
它在老旧的浏览器和平台上能运行吗?不是所有地方都行:Swiper 只面向现代应用和平台,并不兼容所有平台 —— 正是这种专注换来了接近原生的体验和简洁性。
它能配合 React 和 Vue 使用吗,还是只支持原生 JavaScript?都可以 —— 除了面向纯 HTML/JS 的 Core 版本,还有专门的 React 和 Vue 版本,playground 里每种都有可运行的示例,你可以直接复制一份适用于自己框架的可用配置。
它开箱即用都包含哪些功能?内置分页器、前进后退箭头和滚动条,还支持循环模式、自动播放、键盘和鼠标滚轮控制、嵌套滑动、history 和 hash 导航、响应式断点以及无障碍支持。
如果有几百张以图片为主的幻灯片,它还能保持流畅吗?能 —— 懒加载会把幻灯片的图片推迟到用户滑到那一页才加载,而在内容很长的滑动列表中,Virtual Slides 只在 DOM 里保留必需数量的幻灯片。
有哪些过渡效果可以选择?除了普通的滑动,还有 Fade、Flip、3D Cube 和 3D Coverflow 效果;默认情况下触控移动会 1:1 跟随手指,这个比例也可以在设置里调整。
Size
82.6 MB
Stars
41.9K
Age
14y
Commits · 90 Days