ShowButton

function ShowButton(id: string, bShow: boolean, align: string): void

Description

Shows or hides buttons in the header.

Parameters

idstring

The button ID.

bShowboolean

The flag specifies whether the button is shown (true) or hidden (false).

alignstring

The parameter indicates whether the button will be displayed on the right side of the window or on the left. The default value is "left".

Returns

void

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).