UNPKG

763 BTypeScriptView Raw
1import { ElementRef } from '@angular/core';
2import * as i0 from "@angular/core";
3/**
4 * If the window isn't scrollable, then place this on the scrollable container that draggable elements are inside. e.g.
5 * ```html
6 <div style="overflow: scroll" mwlDraggableScrollContainer>
7 <div mwlDraggable>Drag me!</div>
8 </div>
9 ```
10 */
11export declare class DraggableScrollContainerDirective {
12 elementRef: ElementRef<HTMLElement>;
13 /**
14 * @hidden
15 */
16 constructor(elementRef: ElementRef<HTMLElement>);
17 static ɵfac: i0.ɵɵFactoryDeclaration<DraggableScrollContainerDirective, never>;
18 static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableScrollContainerDirective, "[mwlDraggableScrollContainer]", never, {}, {}, never, never, false, never>;
19}