Last change
on this file since 59329aa was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago |
adding photos
|
-
Property mode
set to
100644
|
File size:
998 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 { TemplateRef, InjectionToken } from '@angular/core';
|
---|
| 9 | /**
|
---|
| 10 | * Injection token that can be used to reference instances of `CdkDragPlaceholder`. It serves as
|
---|
| 11 | * alternative token to the actual `CdkDragPlaceholder` class which could cause unnecessary
|
---|
| 12 | * retention of the class and its directive metadata.
|
---|
| 13 | */
|
---|
| 14 | export declare const CDK_DRAG_PLACEHOLDER: InjectionToken<CdkDragPlaceholder<any>>;
|
---|
| 15 | /**
|
---|
| 16 | * Element that will be used as a template for the placeholder of a CdkDrag when
|
---|
| 17 | * it is being dragged. The placeholder is displayed in place of the element being dragged.
|
---|
| 18 | */
|
---|
| 19 | export declare class CdkDragPlaceholder<T = any> {
|
---|
| 20 | templateRef: TemplateRef<T>;
|
---|
| 21 | /** Context data to be added to the placeholder template instance. */
|
---|
| 22 | data: T;
|
---|
| 23 | constructor(templateRef: TemplateRef<T>);
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.