ColorPresentation$Typings extension

on

Properties

additionalTextEdits List<TextEdit>

Available on ColorPresentation, provided by the ColorPresentation$Typings extension

An optional array of additional {@link TextEdit text edits} that are applied when selecting this color presentation. Edits must not overlap with the main {@link ColorPresentation.textEdit edit} nor with themselves.
getter/setter pair
label String

Available on ColorPresentation, provided by the ColorPresentation$Typings extension

The 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.
getter/setter pair
textEdit TextEdit

Available on ColorPresentation, provided by the ColorPresentation$Typings extension

An {@link TextEdit edit} which is applied to a document when selecting this presentation for the color. When falsy the {@link ColorPresentation.label label} is used.
getter/setter pair