react.js 点击事件传递参数的方法

<button onClick={this.handleClick.bind(this, props0, props1, ...}></button>

handleClick(porps0, props1, ..., event) {
    // your code here
}

posted @ 2017-08-11 15:54  Liaofy  阅读(1825)  评论(0编辑  收藏  举报