Skip to content

Commit

Permalink
Update mip-carousel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruoran88 committed Aug 16, 2018
1 parent a3f466d commit dbc2679
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/extensions/builtin/mip-carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@

说明:当每一页切换完成之后,会触发该事件,事件参数会返回当前展示的dom节点,carousel 子元素的总数,当前展示的carousel item的索引值。
一个返回参数示例如下:
``` json
{
currIndex: 2, // 当前子元素的显示索引值
currCarouselItem: childNodes[imgIndex], // 当前子元素的dom节点
carouselChildrenLength: childNum // 当前 carousel 下的子节点个数
}
``` js
{
currIndex: 2, // 当前子元素的显示索引值
currCarouselItem: childNodes[imgIndex], // 当前子元素的dom节点
carouselChildrenLength: childNum // 当前 carousel 下的子节点个数
}
```

0 comments on commit dbc2679

Please sign in to comment.