Skip to content

JavaScript API

BambuCam

View model for BambuCam.

Binds the settings dialog (status panel, connection test, restart button) and the webcam tab (MJPEG <img> with the computed stream URL).

Author: Ajimaru License: AGPL-3.0-or-later

BambuCam~BambucamViewModel

Kind: inner class of BambuCam

new BambucamViewModel(parameters)

Knockout view model bound to the BambuCam settings dialog and webcam tab.

Param Type Description
parameters Array OctoPrint-injected dependencies: [settingsViewModel, loginStateViewModel, printerStateViewModel].