【文件属性】:
文件名称:img-comparison-slider:图像比较滑块。 比较之前和之后的图像。 支持React,Vue,Angular
文件大小:6.48MB
文件格式:ZIP
更新时间:2021-03-28 16:47:26
react html web-component angular vue
img比较滑块
用于比较图像的滑块组件(之前和之后)。
用法示例: :
浏览器支持
IE浏览器/边缘
火狐浏览器
Chrome合金
苹果浏览器
iOS Safari
三星
IE11 () ,Edge
最近2个版本
最近2个版本
最近2个版本
最近2个版本
最近2个版本
为什么还要另一个滑块?
因为所有现有解决方案都至少缺少以下功能之一:
移动友好
无障碍
React灵敏
jQuery免费
兼容现代框架( , , , )
通过CDN或NPM分发
安装
HTML
< script
type =" module "
src =" https://unpkg.com/img-comparison-slider@3/dist/component/component.esm.js "
> </ script >
< script
nomodule ="
【文件预览】:
img-comparison-slider-master
----.prettierignore(45B)
----.circleci()
--------gh-pages.sh(267B)
--------config.yml(824B)
----.gitignore(955B)
----tsconfig.json(420B)
----README.md(7KB)
----bindings()
--------react()
--------vue()
----.prettierrc(68B)
----docs()
--------installation()
--------ie.md(77B)
--------example.gif(2.07MB)
----LICENSE(1KB)
----.gitattributes(74B)
----package.json(2KB)
----.releaserc.js(725B)
----src()
--------components()
--------utils()
--------npm.html(2KB)
--------components.d.ts(1KB)
--------styles()
--------index.ts(30B)
--------index.html(9KB)
--------demo()
----scripts()
--------release-bindings.sh(199B)
----.npmignore(130B)
----.editorconfig(244B)
----stencil.config.ts(940B)
----package-lock.json(471KB)