Mouse/touch selection switch

In all of your demos, there's a switch in thetop bar that lets you select between touch and mouse mode. How exactly is this implemented - are you modifying the style sheets on the fly or is there a global switch in the API? Is the source code available? I find it very useful and would like to steal it for one of my projects. :)

1 Reply

JR John Rajaram Syncfusion Team September 19, 2018 09:56 AM UTC

Hi Christian, 
Thank you for contacting Syncfusion support. 
We would like to let you know that, the implementation of switch action between Touch/Mouse is based on our CSS class styles. Please find the below screen shot for more information. 
 
1.     For Touch mode, the “e-bigger” class name will be added to the “body” element 
 
 
 
2.     But for Mouse mode, the “e-bigger” class name will not be available 
 
 
 
Please let us know if you have any queries. 
Regards, 
John R 


Loader.
Up arrow icon