swiper README

项目的 README,来自 github.com/nolimits4web/swiper。合并为一个 markdown 文件: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

fun88 JBO Australian online casino 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! Online sports betting and casino at Parimatch India Best Online Casinos in Canada Topfollow MGA Casinos EchoFollowers Buy TikTok Likes Fypok TikTok analytics Buy TikTok Followers
Buy TikTok Likes Tiktok Story Viewer Wento AI Humanizer Buy TikTok Followers Reddit YouViews: Buy YouTube Views, Subscribers & Likes Remove Negative Google Reviews SocialBoosting: Buy Instagram & TikTok Followers, Likes, Views super clone watches Vlad vs Golf AI girlfriend Google Ads Agency Best sites for super clone watches
Buy YouTube Views and likes Buy Instagram views BeLeadKey - Google Ads Agency Buy TikTok Likes bedste roulette casinoer på danskroulette.dk ruleta online con dinero real en España Sweepico Promo Code ViljoKasinot.bet Buy LinkedIn Followers Buy TikTok Likes казино онлайн CouponLab
JavaScript SEO WatchThis #1 Sweepstakes Software for Internet Cafes Buy TikTok Views and Likes Buy YouTube Subscribers Buy TikTok Likes from Bulkoid buy TikTok likes software-development-companies Buy Twitter Followers from SocialWick AI Song Generator Buy TikTok Likes Buy Instagram followers in Canada Casino Online Non Aams
fun88 fun88 jbo Buy TikTok Followers Buy Instagram Likes and Views JBO Gry365 Crazy Tower casino Slotsjudge polskie kasyna EzBux - Earn Free Robux Transcribe Youtube 2048
Love You Time Now Top Casino Nederland superclonewatches Time Now API smm panel buy google reviews สล็อตเว็บตรง Live Swap buy followers on tiktok Best hookup sites Legalne Kasyna Online w Polsce
French Casinos Buy Fans TopKasynoOnline PL SocialDawn FaceFinder LorkaAI Humanize AI East Villa FC Casinos sans vérification Fun88 Vietnam Fun88 Fun88 Thailand
Buy Instagram Followers Casinos en ligne France Buy LinkedIn Followers New Casino Bonuses Buy TikTok Followers AI-Text-Humanizer.com aviator game DeContrabas Online casino ohne OASIS Instagram Downloader CrawlJobs iDealeCasinos
Buy instagram Followers trusted gaming sites on Slotozilla WriteHuman AI Humanizer Best Online Casino best replica watches Yahoo Finance - Super Clone Watches gmkoutsi.com Releaf - Medizinischer Cannabis Shop EuroCommpr online casino australia JokaCasino Remove negative information from the Internet | NonDetected.com Luotettavat nettikasinot 2025
Best New Online Casinos in 2025 Buy TikTok Followers Buy Instagram Followers Super Clone Watches For Sale: Best Website for 1:1 Replica Watches humanize ai unaimytext Parhaat kasinot - Valitse turvallinen nettikasino Trusted Source for Online Casino Info , Games, Guides , Reviews Buy Instagram Followers with Instant Delivery Buy YouTube Subscribers & Views UK Pistolo Casino Buy Tiktok Followers Mejores Casinos Internacionales Online de España 2025
CasinoKennis Casinofy CasinoAllianz casinò online Italia Top online casino's van Nederland RoboCat Casino Online Casinos Deutschland Casinos online em Portugal Betting Site Online Casino Nederland UK Casinos not on GamStop 2025 - nongamstopcasinos.net ZonderCruks - Online Gokken Zonder CRUKS
Mejores Casinos Sin Licencia en España SANCTIONS LAW FIRM Interpol Law Firm try bookmakers not on GamStop Buy Instagram Followers & Likes Accelerating Your Software Products | Teravision Technologies Gokken Online Greece Casinos Casino Bonussen Nederland Casino No deposit Bonus 2024 Buy Instagram Likes - Real Likes & Instant Delivery! Purchase TikTok followers, likes and views
Buy Youtube Views Best Bitcoin Casinos Prointernet Nexus Smoke Premium E-Liquid and Luxury Vape Products Buy Instagram Reels Views Onlinecasinosspelen.com site is dé nummer één gids, waardoor je gemakkelijk alle informatie van de top 10 online casino sites. Rotativka.com - Най-добрите онлайн казина в България Under 1 Hour Withdrawal Casinos in Australia - 2022 Nieuwe Online Casino's December 2022 | Overzicht van de top nieuwe casinos! cricket betting app WiserGamblers | Best Online Gambling Guide Fastest Payout Casinos in Canada [2022]
Clique Studios - Creative Digital Transformation Correct Casinos | The Ultimate Guide to the Legit Online Casinos Online Slots - UK Slot Games - 500 FREE Spins at Wizard Slots VPN for Chrome to Make Web Surfing 100% Safe

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

swiper (nolimits4web/swiper)

正在搜索数据库…

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 跟随手指,这个比例也可以在设置里调整。
大小
82.7 MB
星标
41.9K
时长
14年
提交 · 90 天