@angular/cdk
Version:
Angular Material Component Development Kit
19 lines (18 loc) • 647 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { TemplateRef } from '@angular/core';
/**
* Element that will be used as a template for the placeholder of a CdkDrag when
* it is being dragged. The placeholder is displayed in place of the element being dragged.
*/
export declare class CdkDragPlaceholder<T = any> {
templateRef: TemplateRef<T>;
/** Context data to be added to the placeholder template instance. */
data: T;
constructor(templateRef: TemplateRef<T>);
}