Home > @jsplumbtoolkit/browser-ui > Surface > getPlugin
Surface.getPlugin() method
Gets the plugin registered for the given type, null if nothing matching found.
Signature:
getPlugin<T extends SurfacePlugin>(pluginType: string): T | null;
Parameters
Parameter | Type | Description |
---|---|---|
pluginType | string |
Returns:
T | null