Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set a step or increment like on a slider? #10

Open
bmwertman opened this issue Oct 26, 2015 · 3 comments
Open

Is it possible to set a step or increment like on a slider? #10

bmwertman opened this issue Oct 26, 2015 · 3 comments

Comments

@bmwertman
Copy link

Native sliders let you set a step increment for adjusting values by 0.1 for example. Is it possible with your plugin?

@princejwesley
Copy link
Owner

@bmwertman Use onSlide callback to update value which is being watched. And Yes, we can simulate that.

@bmwertman
Copy link
Author

Thanks that worked. I'm having trouble getting the indicatorBallRatio set now. I've tried setting it from my controller and as an attribute on the element. Neither seem to effect the diameter of the indicator ball.

@princejwesley
Copy link
Owner

@bmwertman working fine for me. Try examples/demo.html with below modification.

...
$scope.indicatorBallRatio = 0.4;
...
<circular-slider ... indicator-ball-ratio="indicatorBallRatio" ... value="value">
    {{value}}
</circular-slider>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants