Skip to content

Commit 26ee7ba

Browse files
authored
Update api.md
1 parent f287931 commit 26ee7ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api.md

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ fullPage支持无参数的调用,每个参数都会有默认值,如果想实
6666
- start
6767
- stop
6868
- getCurIndex
69+
- destroy
6970

7071
典型调用方法的例子如下:
7172

@@ -110,3 +111,6 @@ fullPage支持无参数的调用,每个参数都会有默认值,如果想实
110111
获取当前位于第几屏的方法(第一屏的索引为0)。
111112

112113
- return {Number} 当前位于第几屏
114+
115+
### destroy
116+
主动销毁fullpage对象

0 commit comments

Comments
 (0)