Alcumus/react-doc-viewer

Hide controls

Tufanmk21 opened this issue · 6 comments

Is it possible to hide the header controls( Zoom, Pagination, download, etc), or can I move it to the bottom?

You can use css to hide it if the config doesn't exist. I targeted this element:

#pdf-controls {
    display: none;
}

hi...

i want to show all pages by default

means no Pagination , how to do that

how do i hide the bottom controls( Zoom, Pagination, download, etc)?

@sjy-sun What file type are you using? It differs according to the file type.

Use css for .doc:

#WACStatusBarContainer {
    display: none;
}

For PDF:

#pdf-controls {
    display: none;
}

You can check what is the element wrapping the menu and target that element to hide.

@subodhkalika
#WACStatusBarContainer {
display: none;
}

Two iframe tags on the outside .
It doesn't seem to work.

how to hide only download control