我是反应原生的新手,我想从上到下连续滚动图像,反之亦然。
我们可以使用marquee标签在html中滚动图像。
E.g.,
<marquee behavior="scroll" direction="up">
<img src="../t1.png"/>
</marquee>
类似的事情,我希望在本地做出反应。
它是否有可能在本机反应?我不知道怎么回事。
任何人都可以指导我吗?
谢谢。
使用反应原生动画api。它是可能的。试试这个--- https://medium.com/react-native-training/react-native-animations-using-the-animated-api-ebe8e0669fae