Interface IColorPresentation
Expand description
interface IColorPresentation {
additionalTextEdits?: TextEdit[];
label: string;
textEdit?: TextEdit;
}Properties§
§§§
additional Text Edits?: TextEdit[]An optional array of additional text edits that are applied when selecting this color presentation.
label: stringThe label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation.
text Edit?: TextEditAn edit which is applied to a document when selecting this presentation for the color.
String representations for a color