This is a migrated thread and some comments may be shown as answers.

MouseOver

1 Answer 22 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Veteran
Matt asked on 29 Aug 2019, 08:59 PM

Hi,

Is there a way to capture the mouseover event on the palette?

 

Matt

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 02 Sep 2019, 10:32 AM

Hello Matt,

A simple jQuery event handling should be sufficient for this as demonstrated in this dojo: https://dojo.telerik.com/@pmilchev/ASaMEQax

$("#color-chooser").on("mouseover", "table.k-palette td.k-item", function (ev) {
    var colorElement = ev.target;
    console.log(colorElement);
})

Regards,
Peter Milchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ColorPicker
Asked by
Matt
Top achievements
Rank 1
Veteran
Answers by
Peter Milchev
Telerik team
Share this question
or