You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
I want to represent percentage values using paper-slider. Unfortunately pin displays only the number which confuses users. It would be great to set custom label after the number (e.g. "%" or "$")
Expected outcome
<paper-slider custom-label="%"></paper-slider>
Actual outcome
It is not possible to set custom label
Live Demo
N/A
Steps to reproduce
N/A
Browsers Affected
N/A
The text was updated successfully, but these errors were encountered:
That's a cool feature request. For anyone who wants to try to implement this, I would suggest making the value attribute of div#sliderKnobInner be computed from a new label property on paper-slider:
But the label may come before (e.g. "$") or after (e.g. "%") the value, so there may need to be more new properties. Also need to make sure that the string still fits inside the pin.
Description
I want to represent percentage values using
paper-slider
. Unfortunatelypin
displays only the number which confuses users. It would be great to set custom label after the number (e.g. "%" or "$")Expected outcome
Actual outcome
It is not possible to set custom label
Live Demo
N/A
Steps to reproduce
N/A
Browsers Affected
N/A
The text was updated successfully, but these errors were encountered: