Files
paperless-ngx/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.ts

28 lines
515 B
TypeScript
Raw Normal View History

import { AfterViewInit, Component, Input } from '@angular/core'
2020-11-22 22:35:39 +01:00
@Component({
2023-09-14 14:03:28 -07:00
selector: 'pngx-widget-frame',
2020-11-22 22:35:39 +01:00
templateUrl: './widget-frame.component.html',
styleUrls: ['./widget-frame.component.scss'],
2020-11-22 22:35:39 +01:00
})
export class WidgetFrameComponent implements AfterViewInit {
constructor() {}
2020-11-22 22:35:39 +01:00
@Input()
title: string
@Input()
loading: boolean = false
@Input()
draggable: any
public reveal: boolean = false
ngAfterViewInit(): void {
setTimeout(() => {
this.reveal = true
}, 100)
}
2020-11-22 22:35:39 +01:00
}