Home > @jsplumbtoolkit/browser-ui > registerHandler
registerHandler() function
Register a print handler for the given surface, optionally with the given id. An id will be generated if not provided.
Signature:
export declare function registerHandler(surface: Surface, id?: string): PrintHandler;
Parameters
Parameter | Type | Description |
---|---|---|
surface | Surface | |
id | string |
Returns: