Home > @jsplumbtoolkit/browser-ui > Decorators
Decorators variable
Decorator factory. Call register
to add a new decorator type.
Signature:
Decorators: {
get: (name: string, params: Record<string, any>, adapter: Surface, container: Element) => Decorator;
register: (name: string, dec: Constructable<Decorator>) => void;
}