Descriptor for a plugin that is registered up front but loaded only when triggered.
Register with AcApPluginManager.registerLazyPlugin. The plugin module is not fetched until the user runs one of the triggers commands.
import { registerLazyPdfPlugin } from '@mlightcad/cad-pdf-plugin/register'registerLazyPdfPlugin(pluginManager) Copy
import { registerLazyPdfPlugin } from '@mlightcad/cad-pdf-plugin/register'registerLazyPdfPlugin(pluginManager)
Factory that creates the plugin instance when a trigger command runs.
Unique plugin identifier; must match AcApPlugin.name returned by loader.
Command names that load this plugin when executed (case-insensitive).
Descriptor for a plugin that is registered up front but loaded only when triggered.
Register with AcApPluginManager.registerLazyPlugin. The plugin module is not fetched until the user runs one of the triggers commands.
Example