callModule

function callModule(url: string, callback: (), isClose: boolean): void

Description

Defines the method used to execute a remotely located script following a link.

Parameters

urlstring

The resource code URL.

callback()

The result that the method returns.

isCloseboolean

Defines whether the plugin window must be closed after the code is executed or left open waiting for another action. The true value is used to close the plugin window after executing a remotely located script. The false value is used to execute the code and leave the window open waiting for the next action.

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).