ExposedApi.Internal.Connector

Embedding API Reference / Modules / exposed-api / <internal> / Connector

Class: Connector

exposed-api.<internal>.Connector

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Connector(): Connector

Returns

Connector

Properties

api

Readonly Abstract api: Promise<any>

Methods

addCallback

addCallback<K>(key, fun, allowMultiple?): Promise<void>

Type parameters

Name
Type

K

extends "get" | "onKernelIsReady" | "onComponentPositionsUpdated" | "onUpdateParameters" | "onUpdatePossibleChildren" | "onUpdatePrice" | "onSelectionChange" | "onSelectionCancel" | "onPartListUpdate" | "onBoundsUpdate" | "onLoadConfiguration" | "onConfigurationReady" | "onOpenTag" | "onOpenAddOns" | "onClickOutside" | "onNoDockingsAvailable" | "onUiIntersectionChange" | "onZoomChange" | "onZoomToComponent" | "onDimensionsVisibilityChange" | "onErrorDueToOffline" | "onError" | "onElementDocked" | "onDockingsPreviewRemoved" | "onConfigurationHasChildren" | "onTrackTiming" | "onUserInitiatedDockDone" | "onAddonPlusHover" | "onAddonPlusHoverOff" | "onAddonPlusShown" | "onAddonPlusHidden" | "onContentProblem" | "onSyncStarted" | "onSyncDone" | "onOpenFloorMaterials" | "onOpenPartList" | "onComponentLoadError" | "onConfigurationLoadError" | "onChangeTypeChangeTag" | "onRemoveTypeChangeTag" | "onConfigurationLabelChange" | "onMemoryCorruption" | "onConfiguratorKernelIsReady" | "onConfigurationSaved" | "onCameraPositionChanges" | "onHistoryChange" | "onClickComponent" | "onRequestExternalMesh" | "onGeometryReady" | "onGeometryNotReady" | "_creator_" | "mute" | "unmute" | "cameraStartsMoving" | "onReadyForRender" | "onItemsLoaded" | "onCameraChanged" | "onCameraIdle" | "onTotalFloorAreaChanged" | "onPlanInteractionHandlerCreated" | "onPlannerKernelIsReady" | "onPlanChanged" | "onPlanElementChanged" | "onCompletelyLoaded" | "onRotationCancel" | "onUpdateWallDimensions" | "onUpdateMeasurementLineDimensions" | "onUpdateConstructionElementsMeasurements" | "onUpdateObjectMeasurements" | "disableWallDimensions" | "onUpdatePlanObjectPositions" | "onDrawCancel" | "onDrawingStateChanged" | "onHandlerSwitchedPlans" | "onDragElementStart" | "onDragElementEnd" | "onClickElement" | "onMultiSelectionChange" | "onSelectionModeChange" | "onMeasurementLineStateChange" | "onFloorPlanAreasUpdated" | "onComponentSelectionCancel" | "onPlanSnapshotCreated" | "onStartConfiguring" | "onBackToPlanner" | "onContextChanged" | "onMergeExternalObjectGroup" | "onSplitExternalObjectGroup" | "onDeleteExternalObjectGroup" | "onDeleteExternalObjectRootModule" | "onDeleteExternalObjectSubModule" | "onDuplicateExternalObjectGroup" | "onMovedExternalObjectGroup" | "onExternalObjectEnvironmentChanged" | "onExternalObjectGroupChanged" | "onExternalObjectGroupLoaded" | "onExternalObjectAttributeChanged" | "onExternalObjectModuleSelected" | "onExternalObjectSelectionCancel"

Parameters

Name
Type
Default value

key

K

undefined

fun

undefined

allowMultiple

boolean

false

Returns

Promise<void>


init

init(sdkWrapper, element, initData): Promise<void>

Parameters

Name
Type

element

HTMLElement

initData

Returns

Promise<void>

Last updated