Skip to content

Slider doesn't work with (input) event #2296

@eparini

Description

@eparini

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",

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions