Comparing version 0.0.11 to 0.0.12
@@ -31,2 +31,5 @@ # Mask 遮罩层 Demo | ||
} | ||
onVisibleChanged=(e)=>{ | ||
// alert('trigger by android') | ||
} | ||
hideMask(e){ | ||
@@ -41,3 +44,3 @@ this.refs.myMask.hide(); | ||
<Mask defaultVisible={false} ref="myMask" animate={true} style={styles.mask} maskClosable={true}> | ||
<Mask defaultVisible={false} onVisibleChanged={this.onVisibleChanged} ref="myMask" animate={true} style={styles.mask} maskClosable={true}> | ||
<View style={styles.bg}> | ||
@@ -44,0 +47,0 @@ <View style={styles.dialogWrap}> |
# Changelog | ||
## 0.0.12 / 2017-09-28 | ||
* [[9c52fbc](http://gitlab.alibaba-inc.com/nuke/mask/commit/9c52fbcb8b01ad6bcfe8fcd7635297ea934fba85)] - `feat` add onVisibleChanged event | ||
## 0.0.11 / 2017-08-17 | ||
@@ -5,0 +9,0 @@ |
@@ -86,2 +86,3 @@ 'use strict'; | ||
this.setState({ visible: e.visible || !this.state.visible }); | ||
this.props.onVisibleChanged && this.props.onVisibleChanged(e); | ||
} | ||
@@ -88,0 +89,0 @@ }, { |
{ | ||
"name": "nuke-mask", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "遮罩层", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
28282
258