nuke-refresh-control
Advanced tools
Comparing version 2.0.4 to 2.0.5
# Changelog | ||
## 2.0.5 / 2018-05-22 | ||
* [[5980957](http://gitlab.alibaba-inc.com/nuke/refresh-control/commit/59809577f5fb42c9de24c2ae4699d57d67c2285f)] - `fix` fix setNativeProps | ||
## 2.0.4 / 2018-05-22 | ||
@@ -5,0 +9,0 @@ |
@@ -140,3 +140,3 @@ 'use strict'; | ||
value: function addAnim() { | ||
(0, _rax.setNativeProps)(this.dom, { className: 'refreshAnim' }); | ||
(0, _rax.setNativeProps)(this.refs.webRefresh, { className: 'refreshAnim' }); | ||
} | ||
@@ -146,3 +146,3 @@ }, { | ||
value: function removeAnim() { | ||
(0, _rax.setNativeProps)(this.dom, { className: '' }); | ||
(0, _rax.setNativeProps)(this.refs.webRefresh, { className: 'empty' }); | ||
} | ||
@@ -149,0 +149,0 @@ |
{ | ||
"name": "nuke-refresh-control", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "下拉刷新组件", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
@@ -52,6 +52,6 @@ /** @jsx createElement */ | ||
addAnim() { | ||
setNativeProps(this.dom, { className: 'refreshAnim' }); | ||
setNativeProps(this.refs.webRefresh, { className: 'refreshAnim' }); | ||
} | ||
removeAnim() { | ||
setNativeProps(this.dom, { className: '' }); | ||
setNativeProps(this.refs.webRefresh, { className: 'empty' }); | ||
} | ||
@@ -58,0 +58,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23808