伪造查看器中的无头查看器中的上下文菜单 [英] Context menu in headless viewer in forge viewer
本文介绍了伪造查看器中的无头查看器中的上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将Autodesk for iPad应用程序的headless查看器与反应本机Web视图一起使用,以隐藏底部的工具栏.但是使用它,我无法右键单击上下文菜单.有什么方法可以在无头锻造查看器中生成上下文菜单.
I am trying to use headless viewer of autodesk for ipad app with react native web view for hiding the bottom toolbar. But using that I could not get the context menu on right click. Is there any way the context menu can be generated in headless forge viewer.
推荐答案
我想上下文菜单也不是无头查看器的一部分.要使普通查看器变为无头,您所需要做的就是添加自定义css规则:
I guess context menus are also not part of the headless viewer. All you would need to do to turn the normal viewer into headless would be to add a custom css rule:
.adsk-viewing-viewer .adsk-toolbar {
display: none !important;
}
这篇关于伪造查看器中的无头查看器中的上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文