source: trip-planner-front/node_modules/@angular/cdk/drag-drop/drag-styling.d.ts@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.7 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/**
9 * Extended CSSStyleDeclaration that includes a couple of drag-related
10 * properties that aren't in the built-in TS typings.
11 */
12export interface DragCSSStyleDeclaration extends CSSStyleDeclaration {
13 msScrollSnapType: string;
14 scrollSnapType: string;
15}
16/**
17 * Shallow-extends a stylesheet object with another stylesheet-like object.
18 * Note that the keys in `source` have to be dash-cased.
19 * @docs-private
20 */
21export declare function extendStyles(dest: CSSStyleDeclaration, source: Record<string, string>, importantProperties?: Set<string>): CSSStyleDeclaration;
22/**
23 * Toggles whether the native drag interactions should be enabled for an element.
24 * @param element Element on which to toggle the drag interactions.
25 * @param enable Whether the drag interactions should be enabled.
26 * @docs-private
27 */
28export declare function toggleNativeDragInteractions(element: HTMLElement, enable: boolean): void;
29/**
30 * Toggles whether an element is visible while preserving its dimensions.
31 * @param element Element whose visibility to toggle
32 * @param enable Whether the element should be visible.
33 * @param importantProperties Properties to be set as `!important`.
34 * @docs-private
35 */
36export declare function toggleVisibility(element: HTMLElement, enable: boolean, importantProperties?: Set<string>): void;
37/**
38 * Combines a transform string with an optional other transform
39 * that exited before the base transform was applied.
40 */
41export declare function combineTransforms(transform: string, initialTransform?: string): string;
Note: See TracBrowser for help on using the repository browser.