@empathyco/x-components
Version:
Empathy X Components
55 lines (26 loc) • 1.09 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XInstaller](./x-components.xinstaller.md) > [(constructor)](./x-components.xinstaller._constructor_.md)
## XInstaller.(constructor)
Receives the [InstallXOptions](./x-components.installxoptions.md) and merges it with the default fallback options. Also creates the public [XAPI](./x-components.xapi.md)<!-- -->.
**Signature:**
```typescript
constructor(options: InstallXOptions);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[InstallXOptions](./x-components.installxoptions.md)
</td><td>
The [InstallXOptions](./x-components.installxoptions.md)<!-- -->.
</td></tr>
</tbody></table>
## Remarks
Auto initializes the Vue application if window.initX is defined as a function or object specifying the [snippet config](./x-components.snippetconfig.md)<!-- -->.