UNPKG
mini-app-swiper
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
在小程序环境内无限轮播效果,并且不满足外层容器宽度时不轮播, 自定义内部slide
github.com/y213140/mini-app-swiper
mini-app-swiper
/
src
/
app.js
19 lines
(12 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import
{
Component
}
from
'react'
import
'./app.scss'
class
App
extends
Component
{
componentDidMount
() {}
componentDidShow
() {}
componentDidHide
() {}
render
() {
// this.props.children 是将要会渲染的页面
return
this
.
props
.
children
} }
export
default
App