ngx-xyflow
Version:
Angular wrapper for the popular xyflow (formerly Reactflow) library
29 lines • 2.21 kB
TypeScript
import { EventEmitter, SimpleChanges } from '@angular/core';
import { ControlProps } from '@xyflow/react';
import { XYFlowComponent } from './xyflow.component';
import * as i0 from "@angular/core";
export declare class ControlsDirective implements Omit<ControlProps, 'onFitView' | 'onInteractiveChange' | 'onZoomIn' | 'onZoomOut'> {
private readonly xyflow;
'aria-label': ControlProps['aria-label'];
children: ControlProps['children'];
className: ControlProps['className'];
fitViewOptions: ControlProps['fitViewOptions'];
orientation: ControlProps['orientation'];
position: ControlProps['position'];
showFitView: ControlProps['showFitView'];
showInteractive: ControlProps['showInteractive'];
showZoom: ControlProps['showZoom'];
style: ControlProps['style'];
onFitView: EventEmitter<[]>;
onInteractiveChange: EventEmitter<[interactiveStatus: boolean]>;
onZoomIn: EventEmitter<[]>;
onZoomOut: EventEmitter<[]>;
constructor(xyflow: XYFlowComponent);
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ControlsDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlsDirective, "ngx-xyflow>ngx-xyflow-controls", never, { "aria-label": { "alias": "aria-label"; "required": false; }; "children": { "alias": "children"; "required": false; }; "className": { "alias": "className"; "required": false; }; "fitViewOptions": { "alias": "fitViewOptions"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "position": { "alias": "position"; "required": false; }; "showFitView": { "alias": "showFitView"; "required": false; }; "showInteractive": { "alias": "showInteractive"; "required": false; }; "showZoom": { "alias": "showZoom"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "onFitView": "onFitView"; "onInteractiveChange": "onInteractiveChange"; "onZoomIn": "onZoomIn"; "onZoomOut": "onZoomOut"; }, never, never, false, never>;
static ngAcceptInputType_showFitView: unknown;
static ngAcceptInputType_showInteractive: unknown;
static ngAcceptInputType_showZoom: unknown;
}
//# sourceMappingURL=controls.directive.d.ts.map