FlexViewer: Remove icons from toolbar

Posted by: m.luchner on 17 May 2018, 6:49 am EST

    • Post Options:
    • Link

    Posted 17 May 2018, 6:49 am EST - Updated 29 September 2022, 10:58 am EST

    Hello,

    is it possible to remove icons (e.g. print, fullscren, etc.) from the toolbar?

  • Posted 18 May 2018, 12:50 am EST

    Hi,

    You may hide any desired icon by setting its display to none. Please refer to the following code snippet to hide Print and Full Screen Icon:

    onload=function(){
    	document.querySelector("[title='Print']").style.display="none";
             document.querySelector("[title='Full Screen']").style.display="none";
    }
    

    Hope it helps!

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels