Skip to content

Commit

Permalink
Merge pull request #23 from ant-design/1.3.1
Browse files Browse the repository at this point in the history
1.3.1
  • Loading branch information
hi-caicai authored Oct 31, 2016
2 parents 5a4ab21 + ead7fdc commit 41990ce
Show file tree
Hide file tree
Showing 27 changed files with 1,780 additions and 73 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

1 change: 1 addition & 0 deletions components/queue-anim/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ReactDOM.render(<QueueAnim>
| ease | string / array | `easeOutQuart` | 动画的缓动函数,[查看详细](http://julian.com/research/velocity/#easing) |
| animatingClassName | array | `['queue-anim-entering', 'queue-anim-leaving']` | 进出场动画进行中的类名 |
| component | string | `div` | QueueAnim 替换的标签名 |
| onEnd | func | null | 动画结束后回调, callback({ key, type }); type 为 `enter``leave` |

> 当以上数据类型为 Array 时,`['left', 'top']` 第一个为进场动画属性, 第二个为离场属性。
2 changes: 1 addition & 1 deletion components/tween-one/demo/rotate.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Demo extends React.Component {
render() {
return (
<TweenOne
animation={{ r: 360, repeat: -1, duration: 1000 }}
animation={{ rotate: 360, repeat: -1, duration: 1000 }}
paused={this.props.paused}
className="code-box-shape"
/>
Expand Down
1 change: 1 addition & 0 deletions components/tween-one/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ TweenOne.plugins.push(SvgMorphPlugin);
| leave | object / array / func | { x: 30, opacity: 0 } | 出场时的数据,同上 |
| onEnd | func | - | 每个动画结束后回调 |
| animatingClassName | array | `['tween-one-entering', 'tween-one-leaving']` | 进出场的样式,如果是组件形式,需把 className 带到你的组件里 |
| resetStyleBool | boolean | true | 每次动画时是否强制重置样式 |
| component | React.Element/String | div | 需要替换的标签 |

2 changes: 1 addition & 1 deletion exhibition/demo/detail-switch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
order: 1
order: 2
chinese: 详细说明切换
english: detailSwitch
image: https://zos.alipayobjects.com/rmsportal/cvLbMZkjkNvqbVF.png
Expand Down
6 changes: 3 additions & 3 deletions exhibition/demo/list-anim.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
order: 0
order: 3
chinese: 列表动画
english: ListAnim
image: https://zos.alipayobjects.com/rmsportal/wqXXfNZobCkgEcp.png
image: https://zos.alipayobjects.com/rmsportal/ivfCWzEWHsTPWMW.png
---

在页面里,当我们想对区块内容进行动画时,需要解决元素的先后顺序与基本动画的属性。
Expand Down Expand Up @@ -195,7 +195,7 @@ ReactDOM.render(
````css
.queue-demo-wrapper {
position: relative;
background: #29659B;
background: #CCE9F9;
overflow: hidden;
height: 340px;
}
Expand Down
4 changes: 2 additions & 2 deletions exhibition/demo/list-sort.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
order: 2
order: 1
chinese: 列表交换位置
english: ListSort
image: https://zos.alipayobjects.com/rmsportal/UZklLXfsKMNfnQV.jpg
image: https://zos.alipayobjects.com/rmsportal/BgYxbsXLrUfkkRT.png
---

页面里的 List 拖动来重新排列顺序。
Expand Down
Loading

0 comments on commit 41990ce

Please sign in to comment.