IObjectInspectorConfig Interface

A structure containing the configuration of the Object inspector.

example
configuration = {
    widgets: {
        ObjectInspector: {
            bgItemEnabled: false,
            dndEnabled: false,
            violationWarningsEnabled: false
        }
    }
};

Properties

Optional aboveCanvasOnSmallScreenEnabled

aboveCanvasOnSmallScreenEnabled: boolean

Allows you to show the Object Inspector above the canvas. If true, the Object Inspector appears above the canvas when you work on small-screen devices; otherwise, it appears from the left side of the canvas. The default value is false.

Optional bgItemEnabled

bgItemEnabled: boolean

Displays background element in the Object inspector.

Optional dndEnabled

dndEnabled: boolean

Enables drag-and-drop in layers in the Object inspector.

Optional emptyListTextEnabled

emptyListTextEnabled: boolean

Enables the message displayed in the Object inspector when loaded template has no customizable layers.

Optional isHidden

isHidden: boolean

Allows for hiding the Object Inspector. The default value is false.

Optional position

Defines where the Object Inspector shows - on the left or on the right side of the canvas. The default value is Left.

Optional qualityMeterEnabled

qualityMeterEnabled: boolean

Enables a warning displayed if a selected image has a resolution that is too low. This property is out of date and to be removed in the next major release. Use the IQualityMeterConfig.enabled property instead.

Optional regionViolationWarningEnabled

regionViolationWarningEnabled: boolean

Enables a warning displayed if an item goes out of a region. The default value is false. This property is out of date and to be removed in the next major release. Use the IViolationWarningsSettingsConfig.regionViolationWarningEnabled property instead.

Optional safetyLineViolationWarningEnabled

safetyLineViolationWarningEnabled: boolean

Enables a warning displayed if an item crosses a safety line. This property is out of date and to be removed in the next major release. Use the IViolationWarningsSettingsConfig.safetyLineViolationWarningEnabled property instead.

Optional variableItemsEnabled

variableItemsEnabled: boolean

Enables variable data printing for texts and images. If true, you can mark design elements as variable items in the editor and then customize them in your e-commerce system. The default value is false.

Optional violationWarningsEnabled

violationWarningsEnabled: boolean

Enables preflight of user designs and displaying warnings in the Object inspector. The default value is true. For details, see the Customizing User Interface topic.