
This wraps up the initial work on a new annotations plugin that replaces other plugins that provide annotations. As a result, the following plugins are now no longer available: - plugin-banner - plugin-bartack - plugin-buttons - plugin-cutonfold - plugin-dimension - plugin-grainine - plugin-logo - plugin-notches - plugin-scalebox - plugin-title The new plugin-annotations package provides all these plugins used to provide. In addition, it also includes the following new macros: - bannerbox - pleat - sewTogether
1.1 KiB
1.1 KiB
title |
---|
plugin-timing |
Published as @freesewing/plugin-timing, this plugin measures detailed timing information while drafting a design and keeps it in the pattern store.
It is intended to be used for developers trying to indicate which parts of their code are slow, or in general provide insights into the speed at which a design can be drafted.
Installation
npm install @freesewing/plugin-timing
Usage
Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().
To import the plugin for use:
import { timingPlugin } from '@freesewing/plugin-mirror'
// or
import { pluginTiming } from '@freesewing/plugin-mirror'
Provide in-depth example
This is currently not used, but that will change once v3 gets closer to release. At that point, we should provide an in-depth example here.
Notes
The mirror plugin is part of our plugin-bundle