UNPKG

@empathyco/x-components

Version:
55 lines (26 loc) 1.09 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XInstaller](./x-components.xinstaller.md) &gt; [(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)<!-- -->.