fix(docs) Add custom attributes and Snippets documentation
This commit is contained in:
parent
265833d419
commit
b53f62c4d1
8 changed files with 116 additions and 17 deletions
|
@ -42,3 +42,7 @@ If the third parameter is set to `true` it will call [`this.attributes.set()`](/
|
|||
```
|
||||
</Example>
|
||||
|
||||
## Notes
|
||||
|
||||
See [Using Attributes](/howtos/code/attributes)
|
||||
for information about custom Attributes that can be used with Points.
|
||||
|
|
|
@ -15,7 +15,7 @@ The point constructor takes two arguments:
|
|||
- `x` : The X-coordinate of the point
|
||||
- `y` : The Y-coordinate of the point
|
||||
|
||||
## Attributes
|
||||
## Properties
|
||||
|
||||
Point objects come with the following properties:
|
||||
|
||||
|
@ -23,6 +23,11 @@ Point objects come with the following properties:
|
|||
- `y` : The Y-coordinate of the point
|
||||
- `attributes` : An [Attributes](/reference/api/attributes) instance holding the point's attributes
|
||||
|
||||
<Related>
|
||||
See [Using Attributes](/howtos/code/attributes)
|
||||
for information about custom Attributes that can be used with Points.
|
||||
</Related>
|
||||
|
||||
## Example
|
||||
|
||||
<Example caption="Example of the Point constructor">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue