• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

react-native-looped-carousel: from https://github.com/appintheair/react-native-l ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

react-native-looped-carousel

开源软件地址:

https://gitee.com/timzaak/react-native-looped-carousel

开源软件介绍:

Looped carousel for React Native

##注意:本fork,改掉了不少东西,让它用起来更像是jquery的轮播图。暂时没有翻页按钮这个功能,以后可能会依照react-native-carousel来实现翻页按钮。

Based on react-native framework (as of 0.11.2) by Facebook.

Demo

Install

$ npm install react-native-looped-carousel --save

Usage

'use strict';var React = require('react-native');var Carousel = require('react-native-looped-carousel');var Dimensions = require('Dimensions');var {width, height} = Dimensions.get('window');var {  AppRegistry,  StyleSheet,  Text,  View} = React;var carouselTest = React.createClass({  render: function() {    return (      <Carousel delay={500} style={{width: width, height: height}}>          <View style={{backgroundColor:'#BADA55',width:width,height:height}}/>          <View style={{backgroundColor:'red',width:width,height:height}}/>          <View style={{backgroundColor:'blue',width:width,height:height}}/>      </Carousel>    );  }});AppRegistry.registerComponent('carouselTest', () => carouselTest);

Used in


More on react-native here: http://facebook.github.io/react-native/docs/getting-started.html#content


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
react-rnd: A resizable and draggable component for React.发布时间:2022-02-14
下一篇:
babel-plugin-react-directive: Use directive in React.发布时间:2022-02-14
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap