没有合适的资源?快使用搜索试试~ 我知道了~
react-outside-click-handler:React的OutsideClickHandler组件
共17个文件
js:3个
md:2个
jsx:2个
需积分: 9 0 下载量 46 浏览量
2021-05-28
21:44:26
上传
评论
收藏 12KB ZIP 举报
温馨提示
React外部点击处理程序 一个用于处理外部点击的React组件 安装 $ npm install react-outside-click-handler 用法 import OutsideClickHandler from 'react-outside-click-handler' ; function MyComponent ( ) { return ( < OutsideClickHandler xss=removed> { alert ( 'You clicked outside of this component!!!' ) ; } } > Hello World < / OutsideClickHandler > ) ; } 道具 子代: PropTypes.node
资源推荐
资源详情
资源评论
收起资源包目录
react-outside-click-handler-master.zip (17个子文件)
react-outside-click-handler-master
.gitignore 995B
README.md 2KB
CHANGELOG.md 2KB
test
mocha.opts 112B
.eslintrc 119B
_helpers
restoreSinonStubs.js 77B
enzymeSetup.js 100B
OutsideClickHandler_test.jsx 10KB
LICENSE 1KB
.eslintrc 110B
package.json 3KB
src
OutsideClickHandler.jsx 3KB
.babelrc 244B
index.js 106B
.npmignore 967B
.travis.yml 479B
.npmrc 19B
共 17 条
- 1
资源评论
槑可好
- 粉丝: 18
- 资源: 4600
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功