1
0
Fork 0
freesewing/packages/examples/src/point_attr.js
2019-08-03 15:03:33 +02:00

11 lines
279 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)
}