Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
1. add dir
2. add loop
  • Loading branch information
yanhaijing committed May 5, 2015
1 parent d8af19c commit cdc4ffc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ fullPage支持无参数的调用,每个参数都会有默认值,如果想实
start: 0,
duration: 500,
drag: false,
loop: false,
dir: 'v',
change: function () {},
beforeChange: function () {},
afterChange: function () {},
Expand All @@ -30,9 +32,12 @@ fullPage支持无参数的调用,每个参数都会有默认值,如果想实
### drag
是否开启拖动功能,默认关闭。

## loop
### loop
是否开启循环滚动,默认false。

### dir
切换方向,默认垂直方向(v|h)。

### change/beforeChange/afterChange
当切换屏幕时会触发的事件。剩下两个顾名思义吗。

Expand Down

0 comments on commit cdc4ffc

Please sign in to comment.