Wikiki / bulma-slider

Bulma's extension to display sliders
MIT License
48 stars 35 forks source link

Added prefix and postfix option to output #14

Closed chrisrhymes closed 6 years ago

chrisrhymes commented 6 years ago

Added option to add a prefix or postfix to the slider output. An example of where this could be useful is for currency if the slider is for a monetary value such as £100 or 50p.

To use you just need to add additional attributes to the output html tag as follows: <output for="sliderWithValue" data-prefix="£" data-postfix="p">£50p</output>