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

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

adding new components

  • Property mode set to 100644
File size: 1.6 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 */
16import * as ɵngcc0 from '@angular/core';
17export declare const CDK_DRAG_HANDLE: InjectionToken<CdkDragHandle>;
18/** Handle that can be used to drag a CdkDrag instance. */
19export declare class CdkDragHandle implements OnDestroy {
20 element: ElementRef<HTMLElement>;
21 /** Closest parent draggable instance. */
22 _parentDrag: {} | undefined;
23 /** Emits when the state of the handle has changed. */
24 readonly _stateChanges: Subject<CdkDragHandle>;
25 /** Whether starting to drag through this handle is disabled. */
26 get disabled(): boolean;
27 set disabled(value: boolean);
28 private _disabled;
29 constructor(element: ElementRef<HTMLElement>, parentDrag?: any);
30 ngOnDestroy(): void;
31 static ngAcceptInputType_disabled: BooleanInput;
32 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<CdkDragHandle, [null, { optional: true; skipSelf: true; }]>;
33 static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<CdkDragHandle, "[cdkDragHandle]", never, { "disabled": "cdkDragHandleDisabled"; }, {}, never>;
34}
35
36//# sourceMappingURL=drag-handle.d.ts.map
Note: See TracBrowser for help on using the repository browser.