Skip to main content

createCameraManagerUi

@microblink/camera-manager


@microblink/camera-manager / createCameraManagerUi

Function: createCameraManagerUi()

createCameraManagerUi(cameraManager, target?, options?): Promise<CameraManagerComponent>

Creates a new Camera Manager UI component.

Parameters

cameraManager

CameraManager

The camera manager.

target?

HTMLElement

The target element to mount the component to.

options?

CameraManagerUiOptions = {}

The options for the camera manager UI.

Returns

Promise<CameraManagerComponent>

The camera manager UI component.