Last change
on this file since eed0bf8 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | {"version":3,"file":"drag-preview.d.ts","sources":["drag-preview.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { BooleanInput } from '@angular/cdk/coercion';\nimport { InjectionToken, TemplateRef } from '@angular/core';\n/**\n * Injection token that can be used to reference instances of `CdkDragPreview`. It serves as\n * alternative token to the actual `CdkDragPreview` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nexport declare const CDK_DRAG_PREVIEW: InjectionToken<CdkDragPreview<any>>;\n/**\n * Element that will be used as a template for the preview\n * of a CdkDrag when it is being dragged.\n */\nexport declare class CdkDragPreview<T = any> {\n templateRef: TemplateRef<T>;\n /** Context data to be added to the preview template instance. */\n data: T;\n /** Whether the preview should preserve the same size as the item that is being dragged. */\n get matchSize(): boolean;\n set matchSize(value: boolean);\n private _matchSize;\n constructor(templateRef: TemplateRef<T>);\n static ngAcceptInputType_matchSize: BooleanInput;\n}\n"]} |
---|
Note:
See
TracBrowser
for help on using the repository browser.