Skip to main content
InspectorComponentProps
Props for the InspectorComponent
NameTypeDescription
afterUpdate?(s:Surface) => voidOptional function to invoke after an update.
autoCommit?booleanWhether or not to auto commit on enter keypress/blur. Defaults to true.
className?stringOptional extra css classes to set on the root element
filter?(b:Base) => booleanOptional filter you can use to instruct the inspector to ignore certain items.
modelValue?ObjectA model value that this component will apply 2-way binding to. You do not actually supply a prop named modelValue; you supply this as v-model="someRef".
multipleSelections?booleanWhether or not to support multiple selections. Defaults to true.
refresh(obj:Base) => voidCallback invoked when a new object has started to be edited.
renderEmptyContainer() => voidCallback invoked when the inspector is cleared.
showCloseButton?booleanWhether or not to show a close button. Defaults to false.
surfaceId?stringOptional ID of the surface to attach to. It is better to nest this component inside a SurfaceComponent or SurfaceProvider.