RoomleConfiguratorApi.default
Embedding API Reference / Modules / roomle-configurator-api / default
Class: default<SdkType, SdkCallbacks>
roomle-configurator-api.default
Type parameters
SdkType
SdkCallbacks
Implements
Table of contents
Properties
Methods
Properties
analytics
• analytics: Object
Type declaration
callbacks
Implementation of
RoomleEmbeddingApiKeys.analytics
extended
• extended: SdkType
Implementation of
RoomleEmbeddingApiKeys.extended
global
• global: Object
Type declaration
callbacks
GlobalCallback
Implementation of
ui
• ui: ExposedApi
Implementation of
Methods
teardown
▸ teardown(): void
Returns
void
create
▸ create(configuratorId
, container
, initData
): Promise
<RoomleConfiguratorApi
>
Method to create a new instance of a Roomle Configurator
Parameters
configuratorId
string
the id which identifies your configurator, you will get this ID from your Roomle Contact Person
container
HTMLElement
DOM container in which the configurator should be placed
Returns
Promise
<RoomleConfiguratorApi
>
Deprecated
please use "createConfigurator"
createConfigurator
▸ createConfigurator(configuratorId
, container
, initData
): Promise
<RoomleConfiguratorApi
>
Method to create a new instance of a Roomle Configurator
Parameters
configuratorId
string
the id which identifies your configurator, you will get this ID from your Roomle Contact Person
container
HTMLElement
DOM container in which the configurator should be placed
Returns
Promise
<RoomleConfiguratorApi
>
createPlanner
▸ createPlanner(configuratorId
, container
, initData
): Promise
<RoomlePlannerApi
>
Parameters
Returns
Promise
<RoomlePlannerApi
>
createViewer
▸ createViewer(configuratorId
, container
, initData
): Promise
<RoomleViewerApi
>
Method to create a new instance of a Roomle Viewer
Parameters
configuratorId
string
the id which identifies your configurator, you will get this ID from your Roomle Contact Person
container
HTMLElement
DOM container in which the configurator should be placed
Returns
Promise
<RoomleViewerApi
>
Last updated