2022-02-05 17:44:23 +01:00
|
|
|
---
|
|
|
|
title: degrees
|
|
|
|
---
|
|
|
|
|
|
|
|
For angles, use a degree option.
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
Your degree option should be a plain object with these properties:
|
|
|
|
|
2022-02-20 14:44:38 +01:00
|
|
|
- `deg` : The default value in degrees
|
|
|
|
- `min` : The minimul that's allowed
|
|
|
|
- `max` : The maximum that's allowed
|
|
|
|
- `hide` <small>(optional)</small> : A method to [control the optional display of the option][hide]
|
2022-02-05 17:44:23 +01:00
|
|
|
|
|
|
|
[hide]: /reference/api/config/options#optionally-hide-options-by-configuring-a-hide-method
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```js
|
|
|
|
options: {
|
|
|
|
collarAngle: {
|
|
|
|
deg: 85,
|
|
|
|
min: 60
|
|
|
|
max: 130
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|