readConfigGlobal
function readConfigGlobal<C>(configGlobal): Partial<C>;Defined in: src/ui/shell.tsx:39
Read the bootstrap config the panel handler injects as window[configGlobal]
("__WEBHOOKS_CONFIG__"…). {} when it is missing (dev server, embed, SSR).
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
C extends object |
ShellConfigBase |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
configGlobal |
string |
Returns
Section titled “Returns”Partial<C>