ShowButton

ShowButton(id, bShow, align)

Shows or hides buttons in the header.

Parameters:

Name Type Description
id string

The button ID.

bShow boolean

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

align string

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:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod ("ShowButton", ["back", false, "right"]);