1
0
Fork 0
freesewing/sites/dev/docs/reference/api/attributes
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
..
add
aspropsifprefixis
asrenderprops
clone
get
getasarray
remove
render
renderascss
renderifprefixis
set
setifunset
readme.mdx

---
title: Attributes
---

An Attributes object holds attributes for a variety of other objects.

## Signature

```js
Attributes new Attributes()
```

The Attributes constructor takes no arguments.

## Properties

An Attributes object comes with the following property:

- `list` : Holds the internal object in which attributes are stored

## Methods
An Attributes object exposes the following methods:

<ReadMore />

## Notes

Attributes are attached to [`Point`](/reference/api/point),
[`Path`](/reference/api/path), and [`Snippet`](/reference/api/snippet) objects,
as well as the internal [`Svg`](/reference/api/svg) object.

All of these have an instantiated Attributes object in their `attributes`
property, as well as a number of (chainable) helper methods to manipulate the
attributes. You will typically use these higher-level method and thus are
unlikely to interact with an Attributes object directly.