drag-parent.d.ts 542 B

123456789101112131415
  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 { InjectionToken } from '@angular/core';
  9. /**
  10. * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the
  11. * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily
  12. * to avoid circular imports.
  13. * @docs-private
  14. */
  15. export declare const CDK_DRAG_PARENT: InjectionToken<{}>;