Skip to content

Commit

Permalink
Added UI Slider onSlide event (#1774)
Browse files Browse the repository at this point in the history
* page not found

* page not found

* Added onSlide event in Slider
  • Loading branch information
lcampanis authored and mikemurray committed Feb 2, 2017
1 parent d2df6e5 commit aab9a37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imports/plugins/core/ui/client/components/slider/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Slider extends Component {
margin={this.props.margin}
padding={this.props.padding}
onChange={this.props.onChange}
onSlide={this.props.onSlide}
/>
);
}
Expand All @@ -32,7 +33,8 @@ Slider.propTypes = {
tooltips: PropTypes.oneOfType([PropTypes.array, PropTypes.bool]),
margin: PropTypes.number,
padding: PropTypes.number,
onChange: PropTypes.func
onChange: PropTypes.func,
onSlide: PropTypes.func
};

Slider.defaultProps = {
Expand Down

0 comments on commit aab9a37

Please sign in to comment.