1
0
Fork 0
freesewing/packages/examples/src/point_attr.js
2019-05-20 16:25:55 +02:00

11 lines
284 B
JavaScript

import { box } from "./shared";
export default part => {
let { Point, points } = part.shorthand();
points.anchor = new Point(100, 25)
.attr("data-text", "freesewingIsMadeByJoostDeCockAndContributors")
.attr("data-text-class", "center");
return box(part, 200, 50);
};