I want to use onWheel event in this control

Hello.

I am going to use mouse wheel event in MultiSelectDropdown component.
I hope your kind reply.

Best regards.


1 Reply

VK Vinoth Kumar Sundara Moorthy Syncfusion Team September 12, 2019 01:35 PM UTC

Hi Zeng, 
 
Thank you for contacting Syncfusion support. 
 
We don’t have inbuild onwheel event support for multiselect component. However, you can bind the native onwheel event for popup element in the open event. Please refer the below code snippet, 
 
Code Snippet 
onOpen(args){ 
    args.popup.element.addEventListener('wheel',function(){ 
        console.log("Mouse wheel event"); 
    }) 
} 
 
 
Could you please check the above details and get back to us, if you need any further assistance on this?   
 
Regards, 
Vinoth Kumar S 


Loader.
Up arrow icon