wire up mqtt connection on device selection

This commit is contained in:
Stewart Allen 2025-01-28 09:54:00 -05:00
commit 4e6c8ce35e
3 changed files with 90 additions and 48 deletions

View file

@ -674,7 +674,10 @@ gapp.register("kiri.main", (root, exports) => {
easing(TWEEN.Easing.Quadratic.InOut).
to({pct:0}, 100).
onUpdate(() => { style.height = `${info.pct}%` }).
onComplete(() => { style.display = '' }).
onComplete(() => {
style.display = '';
api.event.emit('modal.hide');
}).
start();
}