nickmcmillan / react-physics-dragger

A simple, no-frills horiztonal dragger/slider with physics
202 stars 10 forks source link

Feature/set position #14

Closed nickmcmillan closed 5 years ago

nickmcmillan commented 5 years ago

@ccveer This adds the ability to control the Dragger position by accessing the internal setPosition function via ref. This can be seen in Example1.

I've merged master into the set-position branch - so it's all Typescript now and easy to merge.

@vaibhavhrt @trblackw curious if either of you would be interested in reviewing?

vaibhavhrt commented 5 years ago

On a quick glance looks good to me.

nickmcmillan commented 5 years ago

Closes #10