Enums

Overview

Enumerations of standard values used in the API. Enums are used to make logical and structural distinctions between different parts of the API.

  • From version: 2020.20

Enumerations

ChipType

ChipType: {[id:string]: ChipType}

Used to indicate the chip type.

Const isMeasureChip  = chip.chipType === cvApi2.enums.ChipType.MeasureChip;

ColorRangeType

ColorRangeType: {[id:string]: ColorRangeType}

Types of color ranges.

cvApi2.enums.ColorRangeType.Dual;

DropZoneType

DropZoneType: {[id:string]: DropZoneType}

Used to indicate the type of a Dropzone.

const columnDropzones  = cvApi2.utils.getDropzone(cvApi2.enums.DropZoneType.Columns);

events

events: {[id:string]: Event}

Used to indicate the event types that can occur through the visual flow.

cvApi2.canvas.addEventListener(cvApi2.enums.events.Render, render);