Openseadragon: how to hide toolbar?

Created on 17 Mar 2018  ·  4Comments  ·  Source: openseadragon/openseadragon

I want to hide toolbar,but I can not do that by setting : OpenSeadragon({...,toolbar:false,...}) what should I do?

question

Most helpful comment

I believe:
viewer.setControlsEnabled(false)
should let you do it programatically.

All 4 comments

a easy way to hide it:(typescript)
const toolbar : any= document.getElementsByClassName("openseadragon-container")[0].childNodes[1];
toolbar.style.display = "none";

Out of curiosity, in what documentation did you find toolbar: false? Anyway, it's showNavigationControl: false.

thank you!

I believe:
viewer.setControlsEnabled(false)
should let you do it programatically.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxrottersman picture maxrottersman  ·  4Comments

meihuisu picture meihuisu  ·  3Comments

lycrake picture lycrake  ·  3Comments

darwinjob picture darwinjob  ·  3Comments

sathishravula picture sathishravula  ·  4Comments