Socket
Socket
Sign inDemoInstall

nuke-touchable

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-touchable

可点击容器


Version published
Weekly downloads
33
decreased by-44.07%
Maintainers
1
Weekly downloads
 
Created
Source

Touchable

  • category: Components
  • chinese: 可点击容器
  • type: 基本

Touchable 定义简单的 touch 事件。

API

属性说明类型默认值
onPress点击事件function(e)
activeStyle手指按下时的样式object

使用示例:

<Touchable style={{backgroundColor:'#3089dc',height:'80rem',justifyContent:'center',alignItems:'center'}} activeStyle={{backgroundColor:'#cccccc'}}>Hello Nuke</Touchable>

Keywords

FAQs

Package last updated on 31 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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