Degree options

For angles, use a degree option.


Your degree option should be a plain object with these properties:

  • deg : The default value in degrees
  • min : The minimum that’s allowed
  • max : The maximum that’s allowed

Like all options that are configured through an object, you can add more properties to the options’ object to implement functionality on top of what’s provided by the core library.

Refer to extending options for more details.


options: {
  collarAngle: { 
    deg:  85,
    min:  60,
    max: 130,