Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

New event for manual value changes #7

Closed
jeffposnick opened this issue Jul 16, 2014 · 1 comment
Closed

New event for manual value changes #7

jeffposnick opened this issue Jul 16, 2014 · 1 comment

Comments

@jeffposnick
Copy link
Contributor

It would be useful if <paper-slider> fired a new type of event (proposed name: manual-change) when value changes due to manual interaction with the slider.

This new event would allow for

<paper-slider value="{{currentTime}}" on-manual-change="{{handleManulChange}}">

which would invoke the handleManualChange function only when the value changes due to someone interacting with the slider, and not when the bound currentTime variable changes.

This is important if, e.g., the <paper-slider> serves as a media playback scrubber, where it serves the dual-purpose of reflecting the current playback time and allowing someone to seek to a new time manually.

@frankiefu
Copy link
Contributor

fixed by #8

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