mirror of
https://github.com/czhu12/canine.git
synced 2026-01-06 03:30:16 -06:00
added helm chart install progress bars
This commit is contained in:
@@ -4,7 +4,6 @@ export default class extends Controller {
|
||||
static targets = ["container"]
|
||||
|
||||
connect() {
|
||||
console.log("connected")
|
||||
// Scroll to the bottom of the container
|
||||
this.scrollToBottom();
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
|
||||
export default class extends Controller {
|
||||
connect() {
|
||||
debugger
|
||||
const progress = this.element;
|
||||
let value = 0;
|
||||
|
||||
setInterval(() => {
|
||||
value = (value + 1) % 101;
|
||||
progress.value = value;
|
||||
}, 15);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user