- This topic has 1 reply, 2 voices, and was last updated 2 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Slider › change event
Tagged: slider
howto know if change event triggered by mouse, or programmatically by timer?
Hi Joko,
If you set the value programmatically then you will probably know when in your code you set it. Each value change results in ‘change’ event trigger. We do not have API which tells whether the value is set by programmatic setting. That can be achieved in your code where you set the Slider’s value. I would suggest you to use a boolean variable to add such logic.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/