-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Slider doesn't work with (input) event #2296
Comments
The |
devversion
added a commit
to devversion/material2
that referenced
this issue
Dec 21, 2016
* Adds an input event output, which fires each time the thumb changes its position. Made similar to the native range element `input` event dispatching. Closes angular#2296
+1 this would be great! |
devversion
added a commit
to devversion/material2
that referenced
this issue
Dec 28, 2016
* Adds an input event output, which fires each time the thumb changes its position. Made similar to the native range element `input` event dispatching. Closes angular#2296
kara
pushed a commit
that referenced
this issue
Jan 6, 2017
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Given a simple slider, it does not call "myFunction" subscribed to (input) event :
<md-slider #mySlider min="0" max="100" (input)="myFunction(mySlider.value)">
Then if I subscribe to (change) event it works and it triggers the function at the end of sliding:
<md-slider #mySlider min="0" max="100" (change)="myFunction(mySlider.value)">
The problem is that I need to call "myFunction" each step of slider and this is possible only subscribing to (input) event.
What is the expected behavior?
The expected behaviour should be that if I subscribe "myFunction" to (input) event, "myFunction" get called each step.
What is the current behavior?
At the moment "myFunction" is not triggered
Which versions of Angular, Material, OS, browsers are affected?
"@angular/material": "2.0.0-alpha.10",
The text was updated successfully, but these errors were encountered: