Skip to main content

copy-anchors

copy-anchors() 

Copies multiple anchors from one element into the current group. Panics when used outside of a group. Copied anchors will be accessible in the same way anchors created by the anchor element are.

element:

โ€‹

The name of the element to copy anchors from.

filter:

Default: autoโ€‹

When set to auto all anchors will be copied to the group. An array of anchor names can instead be given so only the anchors that are in the element and the list will be copied over.