UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

16 lines (15 loc) 757 B
import { ElementRef, OnDestroy, OnInit } from '@angular/core'; import { GraphStoreService } from '../graph-store.service'; import { NodeID } from '../types'; import * as i0 from "@angular/core"; export declare class GraphNodeDirective implements OnInit, OnDestroy { private readonly el; private readonly store; id: NodeID; hostRect: () => import("../types").Rect; constructor(el: ElementRef<HTMLElement>, store: GraphStoreService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GraphNodeDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GraphNodeDirective, "[aclGraphNode]", never, { "id": { "alias": "aclGraphNode"; "required": false; }; }, {}, never, never, false, never>; }