source: trip-planner-front/node_modules/@angular/cdk/drag-drop/drag-drop.d.ts@ ceaed42

Last change on this file since ceaed42 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { NgZone, ElementRef } from '@angular/core';
9import { ViewportRuler } from '@angular/cdk/scrolling';
10import { DragRef, DragRefConfig } from './drag-ref';
11import { DropListRef } from './drop-list-ref';
12import { DragDropRegistry } from './drag-drop-registry';
13/**
14 * Service that allows for drag-and-drop functionality to be attached to DOM elements.
15 */
16import * as ɵngcc0 from '@angular/core';
17export declare class DragDrop {
18 private _document;
19 private _ngZone;
20 private _viewportRuler;
21 private _dragDropRegistry;
22 constructor(_document: any, _ngZone: NgZone, _viewportRuler: ViewportRuler, _dragDropRegistry: DragDropRegistry<DragRef, DropListRef>);
23 /**
24 * Turns an element into a draggable item.
25 * @param element Element to which to attach the dragging functionality.
26 * @param config Object used to configure the dragging behavior.
27 */
28 createDrag<T = any>(element: ElementRef<HTMLElement> | HTMLElement, config?: DragRefConfig): DragRef<T>;
29 /**
30 * Turns an element into a drop list.
31 * @param element Element to which to attach the drop list functionality.
32 */
33 createDropList<T = any>(element: ElementRef<HTMLElement> | HTMLElement): DropListRef<T>;
34 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<DragDrop, never>;
35}
36
37//# sourceMappingURL=drag-drop.d.ts.map
Note: See TracBrowser for help on using the repository browser.