react-animated-slider
Advanced tools
Comparing version 0.5.0-beta0 to 0.5.0-beta1
@@ -168,3 +168,3 @@ module.exports = | ||
{ | ||
href: 'javascript:void()', | ||
href: 'javascript:void(0)', | ||
onClick: this.previous, | ||
@@ -178,3 +178,3 @@ className: '' + classNames.buttons.previous + (isDisabled || !this.canGoPrevious() ? ' ' + classNames.buttons.disabled : '') | ||
{ | ||
href: 'javascript:void()', | ||
href: 'javascript:void(0)', | ||
onClick: this.next, | ||
@@ -181,0 +181,0 @@ className: '' + classNames.buttons.next + (isDisabled || !this.canGoNext() ? ' ' + classNames.buttons.disabled : '') |
{ | ||
"name": "react-animated-slider", | ||
"version": "0.5.0-beta0", | ||
"version": "0.5.0-beta1", | ||
"description": "Animated slider component for react", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -73,4 +73,7 @@ # react-animated-slider | ||
{ | ||
previousButton: 'previousButton', | ||
nextButton: 'nextButton', | ||
buttons: { | ||
previous: 'previousButton', | ||
next: 'nextButton', | ||
disabled: 'disabled', | ||
}, | ||
track: 'track', | ||
@@ -91,6 +94,8 @@ slide: 'slide', | ||
**previousButton** | ||
**buttons.previous** previous button | ||
**nextButton** | ||
**buttons.next** next button | ||
**buttons.disabled** disabled state for previous and next button | ||
**track** element wrapping all slides | ||
@@ -97,0 +102,0 @@ |
@@ -224,3 +224,3 @@ import React from 'react'; | ||
<a | ||
href="javascript:void()" | ||
href="javascript:void(0)" | ||
onClick={this.previous} | ||
@@ -232,3 +232,3 @@ className={`${classNames.buttons.previous}${isDisabled || !this.canGoPrevious() ? ` ${classNames.buttons.disabled}` : ''}`} | ||
<a | ||
href="javascript:void()" | ||
href="javascript:void(0)" | ||
onClick={this.next} | ||
@@ -235,0 +235,0 @@ className={`${classNames.buttons.next}${isDisabled || !this.canGoNext() ? ` ${classNames.buttons.disabled}` : ''}`} |
255397
112