alloyteam / alloyviewer Goto Github PK
View Code? Open in Web Editor NEWH5图片查看器—Imageview component built with react
Home Page: https://alloyteam.github.io/AlloyViewer/examples/
H5图片查看器—Imageview component built with react
Home Page: https://alloyteam.github.io/AlloyViewer/examples/
现在在npm里面版本是1.2.1 但是github上是1.3.2
主要问题是 双击放大在安卓中会失效。偶尔能生效,手姿放大是正常的
react 16 以上是不是不能用了 ref报错
option initCallback was lost
在手机上滑动的时候,感觉会抖一下,这个是故意处理的交互吗?
基于webview的项目,页面是静态的在APP里面的无法使用吗?
Invariant Violation: Element ref was specified as a string (imagelist) but no owner was set. You may have multiple copies of React loaded.
比如enableRotate,实际上是disableRotate,坑死哥了。
不过还是感谢这个插件,帮了不少忙:-D。
我在web chrome里查看图片(正常)与在ios safari(旋转了)里查看是不同效果的。
为什么会这样?需要如何调整?
图片地址
点开了 就没法关闭了 OSX Chrome
I just import from "../components/ImageView", then it shows error: Cannot read property 'number' of undefined, any reason may cause that? how to use this component correctly?
如题,demo在微信中打开,长图上下滑动有问题:
1.webveiw自身的手势有重叠
2.滑动图片,事件穿透了,body里面的滚动条也触发了
maxScale根本就没有这个字段,我看代码里写死了,放大2倍就自动缩回,这个体验不太好啊。
我现在想重写你们这个组件,请问该怎么办。。。
when I upgrade react version to v16.2,console shows error "Cannot read property 'number' of undefined",my react-imageview version is 1.2.1, I look into the source code, find that PropTypes is not import from "prop-types", maybe PropTypes cause the error? and how I solve the problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.