@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
40 lines (39 loc) • 1.67 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
import { CoreBaseComponent } from '../common/base.component';
import * as i0 from "@angular/core";
/**
* Individual Layout Items that can be added on demand with as -
* Height
* Width
* X-Coordinate
* Y-Coordinate
*/
export declare class EditableLayoutItemComponent extends CoreBaseComponent implements OnInit {
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
px: number;
py: number;
draggingWindow: boolean;
minArea: number;
get area(): number;
displayName: string;
heightInGrid: number;
widthInGrid: number;
xCoordInGrid: number;
yCoordInGrid: number;
id: number;
isLayoutItemResizable: boolean;
isLayoutItemDraggable: boolean;
dragEnd: EventEmitter<EditableLayoutItemComponent>;
ngOnInit(): void;
onDrag(event: DragEvent): void;
onDragStart(event: DragEvent): void;
onDragEnd(event: any): void;
onDrop(event: MouseEvent): void;
onCornerClick(event: MouseEvent): void;
onCornerMove(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<EditableLayoutItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<EditableLayoutItemComponent, "sme-editable-layout-item", never, { "displayName": "displayName"; "heightInGrid": "heightInGrid"; "widthInGrid": "widthInGrid"; "xCoordInGrid": "xCoordInGrid"; "yCoordInGrid": "yCoordInGrid"; "id": "id"; "isLayoutItemResizable": "isLayoutItemResizable"; "isLayoutItemDraggable": "isLayoutItemDraggable"; }, { "dragEnd": "dragEnd"; }, never, ["*"], false, never>;
}