TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

IRecentSection Interface

A structure defining the section of recently selected colors in the Color picker. For details, see the Color Picker topic.

example
let configuration = {
    widgets: {
        ColorPicker: {
            sections: [
              {
                  type: "RecentSection"
              }
            ]
        }
    }
};

Properties

Optional targets

targets: ColorPickerTarget []

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

Optional translationKey

translationKey: string

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

type

The source type, "RecentSection".

Optional viewType

The appearance of the section, either "Block" or "Line". The default value is "Block".