Interface InspectorComponentProps

Props for the InspectorComponent

interface InspectorComponentProps {
    afterUpdate?: ((s: Surface) => void);
    filter?: ((b: Base) => boolean);
    multipleSelections?: boolean;
    refresh: ((obj: Base) => void);
    showCloseButton?: boolean;
}

Properties

afterUpdate?: ((s: Surface) => void)

Optional function to invoke after an update.

filter?: ((b: Base) => boolean)

Optional filter you can use to instruct the inspector to ignore certain items.

Type declaration

    • (b): boolean
    • Parameters

      • b: Base

        The object to test

      Returns boolean

multipleSelections?: boolean

Whether or not to support multiple selections. Defaults to true.

refresh: ((obj: Base) => void)

Callback invoked when a new object has started to be edited.

showCloseButton?: boolean

Whether or not to show a close button. Defaults to false.

Version :