0.1.13-update • Published 6 years ago
alloyfinger-react-ts v0.1.13-update
Preview
You can touch this → http://alloyteam.github.io/AlloyFinger/
Install
You can install it via npm:
npm install alloyfinger-react-ts -S
Usage
import AlloyFinger from 'AlloyFinger-react-ts';
// ...
render() {
return (
<AlloyFinger
onTap={this.onTap.bind(this)}
onMultipointStart={this.onMultipointStart.bind(this)}
onLongTap={this.onLongTap.bind(this)}
onSwipe={this.onSwipe.bind(this)}
onPinch={this.onPinch.bind(this)}
onRotate={this.onRotate.bind(this)}
onPressMove={this.onPressMove.bind(this)}
onMultipointEnd={this.onMultipointEnd.bind(this)}
onDoubleTap={this.onDoubleTap.bind(this)}>
<div className="test">the element that you want to bind event</div>
</AlloyFinger>
);
}
License
This content is released under the MIT License.
0.1.13-update
6 years ago
0.1.13
6 years ago