Last change
on this file since 188ee53 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
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 | import * as ɵngcc0 from '@angular/core';
|
---|
15 | export declare const CDK_DRAG_PLACEHOLDER: InjectionToken<CdkDragPlaceholder<any>>;
|
---|
16 | /**
|
---|
17 | * Element that will be used as a template for the placeholder of a CdkDrag when
|
---|
18 | * it is being dragged. The placeholder is displayed in place of the element being dragged.
|
---|
19 | */
|
---|
20 | export declare class CdkDragPlaceholder<T = any> {
|
---|
21 | templateRef: TemplateRef<T>;
|
---|
22 | /** Context data to be added to the placeholder template instance. */
|
---|
23 | data: T;
|
---|
24 | constructor(templateRef: TemplateRef<T>);
|
---|
25 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<CdkDragPlaceholder<any>, never>;
|
---|
26 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<CdkDragPlaceholder<any>, "ng-template[cdkDragPlaceholder]", never, { "data": "data"; }, {}, never>;
|
---|
27 | }
|
---|
28 |
|
---|
29 | //# sourceMappingURL=drag-placeholder.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.