mutable-div
Version:
Directives to enable moving or resizing a div element.
21 lines (20 loc) • 1.08 kB
TypeScript
import { OnInit, ComponentRef, ElementRef, EventEmitter, OnChanges, ViewContainerRef } from '@angular/core';
import { ResizeHandlersComponent } from './resize-handlers/resize-handlers.component';
import * as i0 from "@angular/core";
export declare class ResizableElementDirective implements OnInit, OnChanges {
private el;
private container;
rotate: number;
selected: boolean;
stopped: EventEmitter<any>;
resizeHandlersComponent: ComponentRef<ResizeHandlersComponent>;
constructor(el: ElementRef, container: ViewContainerRef);
ngOnInit(): void;
ngOnChanges(): void;
addHandlersToElement(): void;
onPointerDown(): void;
onPointerUp(): void;
onWindowPointerUp(targetEvent: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableElementDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableElementDirective, "[resizable]", never, { "rotate": { "alias": "rotate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "stopped": "stopped"; }, never, never, false, never>;
}