Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

suppress slider navigation #32

Open
krumax opened this issue Oct 16, 2013 · 2 comments
Open

suppress slider navigation #32

krumax opened this issue Oct 16, 2013 · 2 comments

Comments

@krumax
Copy link

krumax commented Oct 16, 2013

Hi guys!
I'd like to disable the slider depending on a scope parameter, for example to suppress slider interaction referring selection. Is there a generic way to disable the interactivity of the slider directive? Or do I have to fix that within the angular-slider plugin? Thanks!

@joernesdohr
Copy link

I don't think there is a "generic way". You'd need to add a watcher for the enable/disable parameter to add and remove the onStart events to the slider components inside the angular-slider directive itself, or maybe check the parameter before the onStart is executed.

@krumax
Copy link
Author

krumax commented Oct 18, 2013

Thanks a lot! I'll try that workaround.

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

No branches or pull requests

2 participants