react-native点击事件

点击事件

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

_onPressButton() {
alert('点击事件亦被促发');
}
posted @ 2018-09-25 23:50  一叶*秋  阅读(3718)  评论(0编辑  收藏  举报

博客侧边栏公告广告位招租