(evt)
| 122 | } |
| 123 | |
| 124 | handleKeyPress(evt) { |
| 125 | if (this.props.keyboard) { |
| 126 | if (evt.keyCode === 37) { |
| 127 | this.props.previous(); |
| 128 | } else if (evt.keyCode === 39) { |
| 129 | this.props.next(); |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | handleTouchStart(e) { |
| 135 | if (!this.props.enableTouch) { |