Restructure; use DaisyUI

This commit is contained in:
Geomitron
2023-11-28 19:50:45 -06:00
parent 49c3f38f99
commit 2eef4d0bee
727 changed files with 1283 additions and 298840 deletions

View File

@@ -1,7 +1,5 @@
import { Directive, ElementRef, Input } from '@angular/core'
import * as _ from 'lodash'
@Directive({
selector: '[appProgressBar]',
})
@@ -17,13 +15,14 @@ export class ProgressBarDirective {
}
constructor(private element: ElementRef) {
this.progress = _.throttle((percent: number) => this.$progressBar.progress('set').percent(percent), 100)
// TODO
// this.progress = throttle((percent: number) => this.$progressBar.progress('set').percent(percent), 100)
}
private get $progressBar() {
if (!this._$progressBar) {
this._$progressBar = $(this.element.nativeElement)
}
return this._$progressBar
}
// private get $progressBar() {
// if (!this._$progressBar) {
// this._$progressBar = $(this.element.nativeElement)
// }
// return this._$progressBar
// }
}