UNPKG

@empathyco/x-components

Version:
57 lines (27 loc) 893 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseXAPI](./x-components.basexapi.md) &gt; [init](./x-components.basexapi.init.md) ## BaseXAPI.init() method Initializes the Application passing the [SnippetConfig](./x-components.snippetconfig.md)<!-- -->. **Signature:** ```typescript init(config: SnippetConfig): Promise<void>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> config </td><td> [SnippetConfig](./x-components.snippetconfig.md) </td><td> The config coming from the customer snippet. </td></tr> </tbody></table> **Returns:** Promise&lt;void&gt; A promise that will be resolved once x components are initialized.