Files
paperless-ngx/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.ts
2024-12-05 20:26:28 -08:00

28 lines
515 B
TypeScript

import { AfterViewInit, Component, Input } from '@angular/core'
@Component({
selector: 'pngx-widget-frame',
templateUrl: './widget-frame.component.html',
styleUrls: ['./widget-frame.component.scss'],
})
export class WidgetFrameComponent implements AfterViewInit {
constructor() {}
@Input()
title: string
@Input()
loading: boolean = false
@Input()
draggable: any
public reveal: boolean = false
ngAfterViewInit(): void {
setTimeout(() => {
this.reveal = true
}, 100)
}
}