Methods
# addIndexJsFunction(fn)
Registers a function to be called after a bug tracking tool initializes but before the main component is imported. It can be useful for registering third-party components that require initialization in index.js.
Parameters:
Name | Type | Description |
---|---|---|
fn |
function |
Example
externalCodeSetup.indexJsApi.addIndexJsFunction(() => {
console.log("function from external set up");
})