We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can I add toolbar item in the mobile version?

Hi,

I am trying to add the item "MagnificationTool" to the toolbar, but with the mobile version it is not shown, only the DownloadOption and the Bookmarks are shown (in the three-point menu).

This is a example: https://stackblitz.com/edit/nmquat-t2eiqf?file=index.html,index.js

Open the example in mobile version (Google Chrome for example) and is shown as follows:

Captura.PNG

What am I doing wrong?

Thank you very much!


6 Replies 1 reply marked as answer

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team October 21, 2022 08:15 AM

Hi Pere,


Currently, we don’t have support to customize the toolbar items in mobile mode. We have logged this as a feature request. We will implement this feature in any of our upcoming releases and let you know once this feature is implemented. You can track the status using the below feedback link.


Feedback link:  Customize the mobile toolbar items | Feature Feedback 



Regards,

CCM Karthik



PA Pere Argelich Romà October 21, 2022 08:20 AM

Ok, thank you. I am looking forward to your implementation of this functionality.



PA Pere Argelich Romà October 21, 2022 08:48 AM

Hi,

Is it possible to disable the mobile version and have it act as if it were a desktop version (even if using it on a mobile)?

Thank you!



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team October 24, 2022 12:33 AM

Hi Pere,

 

Yes, it is possible to use the desktop mode on mobile devices. We have an "enableDesktopMode" API which is used to enable the desktop mode on mobile devices. We have shared the simple sample and Documentation for your reference.

 

Code Snippet:


viewer.enableDesktopMode = true;
 

 

Sample: https://stackblitz.com/edit/e6cemz?file=index.js

 

Documentation: https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/#enabledesktopmode

 

Please let us know if you have any concerns.



Regards,
CCM Karthik


Marked as answer

PA Pere Argelich Romà replied to Chinnamunia Karthik Chinna Thambi October 24, 2022 04:17 AM

Hi,

Thank you very much!

Regards,



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team October 26, 2022 01:09 AM

Hi Pere,

 

Thanks for the update. We are closing this ticket now, Kindly re-open this ticket, if you have any concerns on this.



Regards,
CCM Karthik


Loader.
Live Chat Icon For mobile
Up arrow icon