Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-mask

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-mask - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

5

docs/basic.md

@@ -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}>

4

HISTORY.md
# 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc