404 B
404 B
title | for | about |
---|---|---|
Accessing user options | developers | Shows you how to access user options from inside your pattern |
Options are stored in pattern.settings.options
.
You can pull them out of there with the shorthand call:
const { measurements, options } = part.shorthand()
let sleeveBonus = measurements.shoulderToWrist * (1 + options.sleeveLengthBonus);