Skip to content

Commit c44a70d

Browse files
committed
动效增加到18种
1 parent 57c1d95 commit c44a70d

File tree

8 files changed

+1643
-521
lines changed

8 files changed

+1643
-521
lines changed

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ nodePPT - 让你爱上做分享!
1414
* 添加highlightjs最新版
1515

1616
## 特点
17-
* [转场动效多](#transition)
17+
* [18种转场动效](#transition)
1818
* [支持socket](#socket)
1919
* [支持多窗口互动](#postmessage)
2020
* 手机可以摇一摇
2121
* markdown语法就可以写ppt
2222
* [支持导出html](#export-html)
2323
* [支持导出pdf](#export-pdf)
24-
* [支持转场回调](#callback)
24+
* [支持转场回调,做demo更顺手](#callback)
2525
* [支持html和markdown语法混编](#mixed-code)
2626
* 支持画板标注功能
2727

@@ -136,16 +136,25 @@ files: 引入js和css的地址,如果有的话~自动放在页面底部
136136
<a name="transition"></a>
137137
支持的转场动画包括:
138138

139+
* kontext
140+
* vkontext
141+
* circle
142+
* earthquake
143+
* cards
144+
* glue
145+
* stick
146+
* move
147+
* newspaper
148+
* slide
149+
* slide2
150+
* slide3
139151
* horizontal3d
140152
* horizontal
141153
* vertical3d
142154
* zoomin
143155
* zoomout
144-
* cards
145-
* kontext
146-
* glue
147-
* move
148-
* newspaper
156+
* pulse
157+
149158

150159
如果设置单页动画,请参考下面的**[单页动画设置](#transition-page)**部分~
151160

@@ -290,3 +299,7 @@ nodeppt start -h
290299

291300
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ksky521/nodeppt/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
292301

302+
## Thanks
303+
* http://tympanus.net/Development/ItemTransitions/index2.html
304+
* http://tympanus.net/Development/PageTransitions/
305+
* https://github.com/daneden/animate.css

assets/css/nodeppt2.0.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/nodeppt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@
222222

223223
function updateSlideClass() {
224224
var curSlide = curIndex;
225+
225226
var pageClass = 'pagedown';
226227
if (pastIndex > curIndex) {
227228
//往前翻页

0 commit comments

Comments
 (0)