-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider-element.directive.d.ts
37 lines (37 loc) · 1.21 KB
/
slider-element.directive.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { ElementRef, Renderer2 } from '@angular/core';
export declare class SliderElementDirective {
protected elemRef: ElementRef;
protected renderer: Renderer2;
private _position;
readonly position: number;
private _dimension;
readonly dimension: number;
private _alwaysHide;
readonly alwaysHide: boolean;
private _vertical;
readonly vertical: boolean;
private _scale;
readonly scale: number;
opacity: number;
visibility: string;
left: string;
bottom: string;
height: string;
width: string;
private eventListenerHelper;
private eventListeners;
constructor(elemRef: ElementRef, renderer: Renderer2);
setAlwaysHide(hide: boolean): void;
hide(): void;
show(): void;
isVisible(): boolean;
setVertical(vertical: boolean): void;
setScale(scale: number): void;
setPosition(pos: number): void;
calculateDimension(): void;
setDimension(dim: number): void;
getBoundingClientRect(): ClientRect;
on(eventName: string, callback: (event: any) => void, debounceInterval?: number): void;
onPassive(eventName: string, callback: (event: any) => void, debounceInterval?: number): void;
off(eventName?: string): void;
}