1
0
Fork 0
freesewing/sites/dev/docs/reference/api/part/config/options/deg
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
..
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: 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 degrees
- `min` : The minimum that's allowed
- `max` : 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](/reference/api/part/config/options/extend) for
more details.

:::

## Example

```js
options: {
  collarAngle: { 
    deg:  85,
    min:  60,
    max: 130,
  }
}
```