1
0
Fork 0
freesewing/markdown/dev/reference/api/part/config/options/deg/en.md

37 lines
649 B
Markdown
Raw Normal View History

2022-09-21 09:55:21 +02:00
---
2022-09-21 12:28:58 +02:00
title: Degree options
2022-09-21 09:55:21 +02:00
---
For angles, use a degree option.
## Structure
Your degree option should be a plain object with these properties:
- `deg` : The default value in degrees
- `min` : The minimum that's allowed
2022-09-21 09:55:21 +02:00
- `max` : The maximum that's allowed
2022-09-21 12:28:58 +02:00
<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](/reference/api/part/config/options/extend) for
more details.
</Tip>
2022-09-21 09:55:21 +02:00
## Example
```js
options: {
collarAngle: {
deg: 85,
min: 60,
max: 130,
2022-09-21 09:55:21 +02:00
}
}
```