source: trip-planner-front/node_modules/@angular/cdk/drag-drop/directives/drag-handle.d.ts@ 6fe77af

Last change on this file since 6fe77af was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 1.3 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 { BooleanInput } from '@angular/cdk/coercion';
9import { ElementRef, InjectionToken, OnDestroy } from '@angular/core';
10import { Subject } from 'rxjs';
11/**
12 * Injection token that can be used to reference instances of `CdkDragHandle`. It serves as
13 * alternative token to the actual `CdkDragHandle` class which could cause unnecessary
14 * retention of the class and its directive metadata.
15 */
16export declare const CDK_DRAG_HANDLE: InjectionToken<CdkDragHandle>;
17/** Handle that can be used to drag a CdkDrag instance. */
18export declare class CdkDragHandle implements OnDestroy {
19 element: ElementRef<HTMLElement>;
20 /** Closest parent draggable instance. */
21 _parentDrag: {} | undefined;
22 /** Emits when the state of the handle has changed. */
23 readonly _stateChanges: Subject<CdkDragHandle>;
24 /** Whether starting to drag through this handle is disabled. */
25 get disabled(): boolean;
26 set disabled(value: boolean);
27 private _disabled;
28 constructor(element: ElementRef<HTMLElement>, parentDrag?: any);
29 ngOnDestroy(): void;
30 static ngAcceptInputType_disabled: BooleanInput;
31}
Note: See TracBrowser for help on using the repository browser.