1
0
Fork 0

chore(markdown): Updated mirror macro docs

This commit is contained in:
joostdecock 2023-04-15 09:37:09 +02:00
parent b4d9abfed1
commit 51b9148e29

View file

@ -56,7 +56,7 @@ macro('mirror', {
| `points` | | `array` | An array of pointnames, the names of Points in the `points` array to mirror |
| `paths` | | `array` | An array of pathnames, the names of Paths in the `paths` array to mirror |
| `prefix` | `mirrored` | `string` | A prefix to apply to the names of the clones points and or paths. Ignored if `nameFormat` is set |
| `nameFormat` | | `function` | A method that receives the name of the path or point and should return the name for the cloned path and or point |
| `nameFormat` | | `function` | A method that receives the name of the path or point as a first argument and one of `path` or `point` as the second argument and should return the name for the cloned path and or point |
## Result