File tree Expand file tree Collapse file tree 4 files changed +52
-98
lines changed Expand file tree Collapse file tree 4 files changed +52
-98
lines changed Original file line number Diff line number Diff line change 3
3
4
4
一个常用的调用此API的办法是调用` LayoutAnimation.configureNext ` ,然后调用` setState ` 。
5
5
6
+
7
+ 注意:目前如果要在** Android** 上使用LayoutAnimation,那么还需要在` UIManager ` 中明确启用:
8
+ ``` javascript
9
+ UIManager .setLayoutAnimationEnabledExperimental && UIManager .setLayoutAnimationEnabledExperimental (true );
10
+ ```
11
+
12
+
6
13
### 方法
7
14
8
15
<div class =" props " >
17
24
<li><code>update</code>, 配置被更新的视图的动画。(参阅 <code>Anim</code> 类型)</li>
18
25
</ul>
19
26
<p>@param onAnimationDidEnd 当动画结束的时候被调用。只在iOS设备上支持。</p>
20
- <p>@param onError 当动画残生错误的时候被调用 。只在iOS设备上支持。</p>
27
+ <p>@param onError 当动画产生错误的时候被调用 。只在iOS设备上支持。</p>
21
28
</div>
22
29
</div>
23
30
<div class="prop">
Original file line number Diff line number Diff line change 3
3
4
4
一个常用的调用此API的办法是调用` LayoutAnimation.configureNext ` ,然后调用` setState ` 。
5
5
6
+
7
+ 注意:目前如果要在** Android** 上使用LayoutAnimation,那么还需要在` UIManager ` 中明确启用:
8
+ ``` javascript
9
+ UIManager .setLayoutAnimationEnabledExperimental && UIManager .setLayoutAnimationEnabledExperimental (true );
10
+ ```
11
+
12
+
6
13
### 方法
7
14
8
15
<div class =" props " >
17
24
<li><code>update</code>, 配置被更新的视图的动画。(参阅 <code>Anim</code> 类型)</li>
18
25
</ul>
19
26
<p>@param onAnimationDidEnd 当动画结束的时候被调用。只在iOS设备上支持。</p>
20
- <p>@param onError 当动画残生错误的时候被调用 。只在iOS设备上支持。</p>
27
+ <p>@param onError 当动画产生错误的时候被调用 。只在iOS设备上支持。</p>
21
28
</div>
22
29
</div>
23
30
<div class="prop">
You can’t perform that action at this time.
0 commit comments