Degree options
For angles, use a degree option.
Structure
Your degree option should be a plain object with these properties:
deg
: The default value in degreesmin
: The minimum that's allowedmax
: The maximum that's allowed
tip
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.
Example
options: {
collarAngle: {
deg: 85,
min: 60,
max: 130,
}
}