Last change
on this file since fa375fe was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[fa375fe] | 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 | */
|
---|
| 8 | import { BooleanInput } from '@angular/cdk/coercion';
|
---|
| 9 | import { ElementRef, InjectionToken, OnDestroy } from '@angular/core';
|
---|
| 10 | import { 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 | */
|
---|
| 16 | export declare const CDK_DRAG_HANDLE: InjectionToken<CdkDragHandle>;
|
---|
| 17 | /** Handle that can be used to drag a CdkDrag instance. */
|
---|
| 18 | export 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.