Skip to main content

Home > @jsplumbtoolkit/browser-ui > InspectorOptions

InspectorOptions interface

Options for an inspector.


export interface InspectorOptions 


afterUpdate?() => any(Optional) Optional callback to invoke after an update has occurred.
autoCommit?boolean(Optional) Whether or not to auto commit changes on blur/change events. Defaults to true.
containerHTMLElementThe element in which the inspector is drawn.
cssClass?string(Optional) Optional css class(es) to set on the inspector - a space separated list.
multipleSelections?boolean(Optional) Whether or not to support multiple selections. Defaults to true.
refresh(obj: Base, cb: () => any) => voidCallback invoked when a new object has started to be edited.
renderEmptyContainer() => voidCallback invoked when the inspector is cleared.
surfaceSurfaceThe surface to attach to.