Skip to content

Commit abda564

Browse files
committed
update
1 parent b711f50 commit abda564

File tree

4 files changed

+52
-98
lines changed

4 files changed

+52
-98
lines changed

docs/docs/0.37/layoutanimation.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
一个常用的调用此API的办法是调用`LayoutAnimation.configureNext`,然后调用`setState`
55

6+
7+
注意:目前如果要在**Android**上使用LayoutAnimation,那么还需要在`UIManager`中明确启用:
8+
```javascript
9+
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
10+
```
11+
12+
613
### 方法
714

815
<div class="props">
@@ -17,7 +24,7 @@
1724
<li><code>update</code>, 配置被更新的视图的动画。(参阅 <code>Anim</code> 类型)</li>
1825
</ul>
1926
<p>@param onAnimationDidEnd 当动画结束的时候被调用。只在iOS设备上支持。</p>
20-
<p>@param onError 当动画残生错误的时候被调用。只在iOS设备上支持。</p>
27+
<p>@param onError 当动画产生错误的时候被调用。只在iOS设备上支持。</p>
2128
</div>
2229
</div>
2330
<div class="prop">

docs/docs/0.38/layoutanimation.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
一个常用的调用此API的办法是调用`LayoutAnimation.configureNext`,然后调用`setState`
55

6+
7+
注意:目前如果要在**Android**上使用LayoutAnimation,那么还需要在`UIManager`中明确启用:
8+
```javascript
9+
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
10+
```
11+
12+
613
### 方法
714

815
<div class="props">
@@ -17,7 +24,7 @@
1724
<li><code>update</code>, 配置被更新的视图的动画。(参阅 <code>Anim</code> 类型)</li>
1825
</ul>
1926
<p>@param onAnimationDidEnd 当动画结束的时候被调用。只在iOS设备上支持。</p>
20-
<p>@param onError 当动画残生错误的时候被调用。只在iOS设备上支持。</p>
27+
<p>@param onError 当动画产生错误的时候被调用。只在iOS设备上支持。</p>
2128
</div>
2229
</div>
2330
<div class="prop">

0 commit comments

Comments
 (0)