Skip to main content

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#

ParameterTypeDescription
pluginTypestring

Returns:

T | null