跳到主要内容

Variables

Exported constants: the default frame configuration, the iframe name prefix, the CSP validation endpoint and the error messages the SDK shows.

Overview

The following constants are available:

ConstantDescription
connectErrorTextThe error message displayed when the message bus fails to connect with the embedded frame.
CSPApiUrlThe API endpoint for managing Content Security Policy (CSP) settings.
cspErrorTextThe error message displayed when the current domain is not included in the CSP settings.
defaultConfigThe default configuration object for initializing and embedding a DocSpace frame.
FRAME_NAMEThe default name for the DocSpace iframe element.