Get Started
Plugins
Macros
More information

window.Asc.plugin.executeMethod ("ShowButton", [args], callback)

Description

Defines the method that allows showing or hiding buttons in the header.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("ShowButton", [id, bShow]);
Parameters
Parameter Description Type Example
id The button ID. string "1"
bShow The flag specifies whether the button is shown (true) or hidden (false). boolean false
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod ("ShowButton", ["1", false]);