RoomleConfiguratorApi.default
Last updated
Embedding API Reference / Modules / roomle-configurator-api / default
roomle-configurator-api.default
SdkType
SdkCallbacks
• analytics: Object
Type declaration
callbacks
Implementation of
• extended: SdkType
Implementation of
• global: Object
Type declaration
callbacks
GlobalCallback
Implementation of
• ui: ExposedApi
Implementation of
▸ teardown(): void
Returns
void
▸ 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(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(configuratorId, container, initData): Promise<RoomlePlannerApi>
Parameters
Returns
Promise<RoomlePlannerApi>
▸ 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