点击事件

<View>
<Button title="点击事件" onPress={this._onPressButton.bind(this)}/>
</View>

_onPressButton() {
alert('点击事件亦被促发');
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案