INoColorSection Interface

A structure defining the No Color section in the Color picker. For details, see the Colors topic.

By default, this section appears when the user selects a fill color, a background color, or a color for the bounding rectangle.

example
let configuration = {
    widgets: {
        ColorPicker: {
            sections: [
              {
                  type: "NoColorSection",
                  targets: [ "Fill", "Border", "Background" ]
              }
            ]
        }
    }
};

Properties

targets

targets: ColorPickerTarget []

An item property that you can specify a color for. The default value is ["All"].

translationKey

translationKey: string

The section caption. You can use either a string or an identifier of a string defined in the ~\Configuration\translations.json file.

type

The source type, "NoColorSection".

viewType

Defines the appearance of the section. The default value is "Block".