From e10b665f3622b51fff87989e604aa0706c35a3c2 Mon Sep 17 00:00:00 2001 From: Benjamin Fan Date: Thu, 8 Feb 2024 12:43:45 -0800 Subject: [PATCH] fix(markdown): Add missing list property to Attributes and Defs docs --- markdown/dev/reference/api/attributes/en.md | 6 ++++++ markdown/dev/reference/api/defs/en.md | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/markdown/dev/reference/api/attributes/en.md b/markdown/dev/reference/api/attributes/en.md index fb6d194ec25..25a7bb246fd 100644 --- a/markdown/dev/reference/api/attributes/en.md +++ b/markdown/dev/reference/api/attributes/en.md @@ -12,6 +12,12 @@ Attributes new Attributes() The Attributes constructor takes no arguments. +## Properties + +An Attributes object comes with the following property: + +- `list` : The of individual attributes. + ## Methods An Attributes object exposes the following methods: diff --git a/markdown/dev/reference/api/defs/en.md b/markdown/dev/reference/api/defs/en.md index 4e77f0db2f2..8f3271eccca 100644 --- a/markdown/dev/reference/api/defs/en.md +++ b/markdown/dev/reference/api/defs/en.md @@ -7,9 +7,15 @@ The `Defs` object in FreeSewing's core library represents an SVG document's It is not directly exposed, but it is available as the `defs` attribute of an [Svg object](/reference/api/svg/defs). -While the methods exposed by this object are typically only used internally, +While the properties and methods exposed by this object are typically only used internally, they are documented here to facilitate development of plugins. +## Properties + +A Defs object comes with the following property: + +- `list` : The entries of the `defs` element. + ## Defs methods