2023-09-28 10:18:12 -07:00
|
|
|
import { Component, EventEmitter, Input, Output } 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
|
|
|
})
|
2022-12-15 22:48:16 -08:00
|
|
|
export class WidgetFrameComponent {
|
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
|
|
|
|
|
|
|
|
|
|
@Output()
|
|
|
|
|
dndStart: EventEmitter<DragEvent> = new EventEmitter()
|
|
|
|
|
|
|
|
|
|
@Output()
|
|
|
|
|
dndMoved: EventEmitter<DragEvent> = new EventEmitter()
|
|
|
|
|
|
|
|
|
|
@Output()
|
|
|
|
|
dndCanceled: EventEmitter<DragEvent> = new EventEmitter()
|
|
|
|
|
|
|
|
|
|
@Output()
|
|
|
|
|
dndEnd: EventEmitter<DragEvent> = new EventEmitter()
|
2020-11-22 22:35:39 +01:00
|
|
|
}
|