the URL to the subdomain where the configurator is hosted e.g. https://demo.carportview.com
the ID value of a html element to embed the configurator in
(optional) settings to initialize the configurator with
Adds a listener that is triggered when the building is rendered after an update.
Adds a listener that is triggered when the configurator throws an error
Triggered after the client was successfully connected.
Triggered after a successful load operation.
Triggered after a successful save operation.
Removes a building rendered listener.
Removes the onError listener
Changes the selected structure supplier in the configurator.
The supplier key
A promise that is resolved once the supplier successfully changed.
Changes the selected style in the configurator.
The style key
A promise that is resolved once the style successfully changed.
Closes the Location/Zip/State dialog if open.
Destroys the embedded configurator iframe. Use it to clear resources.
Loads a previously saved building. onLoaded will be triggered upon successful completion.
a hash value that references a previous save
(optional) a uuid value that references a previous save
Saves the current building. onSaved will be triggered upon successful completion.
(optional) settings to control how saves work
Saves a screenshot of the building.
screenshot width
screenshot height
hide watermarks on the screenshot
adjust camera zoom before taking the screenshot
turn off the building shadows
the camera rotation used for taking the screenshot
A promise that is resolved with the image as a base64 string
Displays a Snackbar message in the configurator.
For a Snackbar message to have an action both actionLabel
and actionCallback
must be set.
the message to display
(optional) the duration for the snackbar to display in ms unless dismissed
(optional) a label to display as the action when used with actionCallback
(optional) a callback to perform when the actionLabel
is clicked
Generated using TypeDoc
An embedded IdeaRoom Configurator