EmKayDK / jstepper

A jQuery plugin usable for making a numeric textfield value easy to increase or decrease
ISC License
18 stars 6 forks source link

Option for specifying a class to set on a jStepper'ed input field #22

Open EmKayDK opened 7 years ago

EmKayDK commented 7 years ago

When checking if a field already has jStepper initialized it would make it easier if the plugin had a built-in way of tagging the field with a class when initializing. This class can be used for both checking if it's initialized but also to apply custom styling to a jStepper'ed field.

Default should probably be the current way: No class is added. And then you'd have to explicitly set a class name to add if you want the plugin to do this.