1
0
Fork 0
freesewing/markdown/dev/reference/api/settings/embed/en.md
2021-12-27 17:33:49 +01:00

419 B

title
embed

Set to true to make SVG output suitable for embedding in a web page.

This removes the width and height attributes from the SVG tag, which allows you to inject the SVG into an HTML document, and it will responsively scale.

import brian from "@freesewing/brian";

let pattern = new brian({
  embed: true
})

Do not use this for SVGs you want to print.