2024-12-05 20:26:28 -08:00
|
|
|
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',
|
2022-03-11 10:53:32 -08:00
|
|
|
styleUrls: ['./widget-frame.component.scss'],
|
2020-11-22 22:35:39 +01:00
|
|
|
})
|
2024-12-05 20:26:28 -08:00
|
|
|
export class WidgetFrameComponent implements AfterViewInit {
|
2022-03-11 10:53:32 -08:00
|
|
|
constructor() {}
|
2020-11-22 22:35:39 +01:00
|
|
|
|
|
|
|
|
@Input()
|
|
|
|
|
title: string
|
|
|
|
|
|
2022-05-08 09:03:29 -07:00
|
|
|
@Input()
|
|
|
|
|
loading: boolean = false
|
2023-09-28 10:18:12 -07:00
|
|
|
|
|
|
|
|
@Input()
|
|
|
|
|
draggable: any
|
2024-12-05 20:26:28 -08:00
|
|
|
|
|
|
|
|
public reveal: boolean = false
|
|
|
|
|
|
|
|
|
|
ngAfterViewInit(): void {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.reveal = true
|
|
|
|
|
}, 100)
|
|
|
|
|
}
|
2020-11-22 22:35:39 +01:00
|
|
|
}
|