1
0
Fork 0
freesewing/markdown/dev/reference/api/attributes/clone/en.md
2021-10-17 17:34:55 +02:00

295 B


title: clone()

Attributes attributes.clone()

Returns a new Attributes object that is a deep copy of this one.

let { Path, paths } = part.shorthand();

paths.demo = new Path()
  .attr('class', 'classA')
  .attr('class', 'classB');

paths.clone = paths.demo.clone()