@nova-ui/dashboards
Version:
Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and
16 lines (15 loc) • 1.02 kB
TypeScript
import { OnChanges, SimpleChanges } from "@angular/core";
import { GridsterItemComponent } from "angular-gridster2";
import * as i0 from "@angular/core";
/**
* This directive assigns a "widgetId" property to host gridster item. We need it there because moving and resizing the widget with gridster only contains
* gridster position data and gridster component payload, so we need to identify which widget that event belongs to.
*/
export declare class GridsterItemWidgetIdDirective implements OnChanges {
private gridsterItem;
nuiGridsterItemWidgetId: string;
constructor(gridsterItem: GridsterItemComponent);
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GridsterItemWidgetIdDirective, [{ host: true; self: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<GridsterItemWidgetIdDirective, "[nuiGridsterItemWidgetId]", never, { "nuiGridsterItemWidgetId": { "alias": "nuiGridsterItemWidgetId"; "required": false; }; }, {}, never, never, false, never>;
}