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

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

adding new components

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[6a3a178]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 */
[fa375fe]16import * as ɵngcc0 from '@angular/core';
[6a3a178]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>;
[fa375fe]34 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<DragDrop, never>;
[6a3a178]35}
[fa375fe]36
37//# sourceMappingURL=drag-drop.d.ts.map
Note: See TracBrowser for help on using the repository browser.