mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(drag-drop): make CDK_DROP_CONTAINER public (#12214)
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
import {InjectionToken, QueryList} from '@angular/core';
|
||||
import {CdkDrag} from './drag';
|
||||
|
||||
/** @docs-private */
|
||||
export interface CdkDropContainer<T = any> {
|
||||
/** Arbitrary data to attach to all events emitted by this container. */
|
||||
data: T;
|
||||
@@ -53,6 +52,5 @@ export interface CdkDropContainer<T = any> {
|
||||
/**
|
||||
* Injection token that is used to provide a CdkDrop instance to CdkDrag.
|
||||
* Used for avoiding circular imports.
|
||||
* @docs-private
|
||||
*/
|
||||
export const CDK_DROP_CONTAINER = new InjectionToken<CdkDropContainer>('CDK_DROP_CONTAINER');
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
export * from './drop';
|
||||
export * from './drop-container';
|
||||
export * from './drag';
|
||||
export * from './drag-handle';
|
||||
export * from './drag-events';
|
||||
|
||||
Reference in New Issue
Block a user