1
0
Fork 0
freesewing/markdown/dev/reference/api/config/options/counter/en.md
2021-12-27 17:33:49 +01:00

436 B

title
counter

For a given number of things, use a counter. Counters are for integers only. Things like number of buttons and so on.

Your counter option should be an object with these properties:

  • count : The default integer value
  • min : The minimal integer value that's allowed
  • max : The maximum integer value that's allowed
options: {
  butttons: { 
    count: 7, 
    min:   4,
    max:  12 
  }
}