messages Object

Allows localization of the strings that are used in the widget.

Example

<input id="colorpicker" type="color" />
<script>
$("#colorpicker").kendoColorPicker({
  messages: {
    apply: "Update",
    cancel: "Discard"
  }
})
</script>

messages.apply String (default: "Apply")

Allows customization of the "Apply" button text.

Example

<input id="colorpicker" type="color" />
<script>
$("#colorpicker").kendoColorPicker({
  messages: {
    apply: "Update"
  }
})
</script>

messages.cancel String (default: "Cancel")

Allows customization of the "Cancel" button text.

Example

<input id="colorpicker" type="color" />
<script>
$("#colorpicker").kendoColorPicker({
  messages: {
    cancel: "Discard"
  }
})
</script>

messages.previewInput String (default: "Color Hexadecimal Code")

Allows customization of the "Color Hexadecimal Code" preview input title.

Example

<input id="colorpicker" type="color" />
<script>
$("#colorpicker").kendoColorPicker({
  messages: {
    previewInput: "Edit Color"
  }
})
</script>
In this article
Not finding the help you need?