source: trip-planner-front/node_modules/primeng/slider/slider.d.ts@ 6fe77af

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

adding photos

  • Property mode set to 100644
File size: 3.3 KB
Line 
1import { ElementRef, OnDestroy, EventEmitter, Renderer2, NgZone, ChangeDetectorRef } from '@angular/core';
2import { ControlValueAccessor } from '@angular/forms';
3import * as i0 from "@angular/core";
4import * as i1 from "@angular/common";
5export declare const SLIDER_VALUE_ACCESSOR: any;
6export declare class Slider implements OnDestroy, ControlValueAccessor {
7 el: ElementRef;
8 renderer: Renderer2;
9 private ngZone;
10 cd: ChangeDetectorRef;
11 animate: boolean;
12 disabled: boolean;
13 min: number;
14 max: number;
15 orientation: string;
16 step: number;
17 range: boolean;
18 style: any;
19 styleClass: string;
20 ariaLabelledBy: string;
21 tabindex: number;
22 onChange: EventEmitter<any>;
23 onSlideEnd: EventEmitter<any>;
24 sliderHandle: ElementRef;
25 sliderHandleStart: ElementRef;
26 sliderHandleEnd: ElementRef;
27 value: number;
28 values: number[];
29 handleValue: number;
30 handleValues: number[];
31 onModelChange: Function;
32 onModelTouched: Function;
33 dragging: boolean;
34 dragListener: any;
35 mouseupListener: any;
36 initX: number;
37 initY: number;
38 barWidth: number;
39 barHeight: number;
40 sliderHandleClick: boolean;
41 handleIndex: number;
42 startHandleValue: any;
43 startx: number;
44 starty: number;
45 constructor(el: ElementRef, renderer: Renderer2, ngZone: NgZone, cd: ChangeDetectorRef);
46 onMouseDown(event: any, index?: number): void;
47 onTouchStart(event: any, index?: number): void;
48 onTouchMove(event: any, index?: number): void;
49 onTouchEnd(event: any, index?: number): void;
50 onBarClick(event: any): void;
51 onHandleKeydown(event: any, handleIndex?: number): void;
52 spin(event: any, dir: number, handleIndex?: number): void;
53 handleChange(event: Event): void;
54 bindDragListeners(): void;
55 unbindDragListeners(): void;
56 setValueFromHandle(event: Event, handleValue: any): void;
57 handleStepChange(newValue: number, oldValue: number): void;
58 writeValue(value: any): void;
59 registerOnChange(fn: Function): void;
60 registerOnTouched(fn: Function): void;
61 setDisabledState(val: boolean): void;
62 get rangeStartLeft(): string;
63 get rangeStartBottom(): string;
64 get rangeEndLeft(): string;
65 get rangeEndBottom(): string;
66 isVertical(): boolean;
67 updateDomData(): void;
68 calculateHandleValue(event: any): number;
69 updateHandleValue(): void;
70 updateValue(val: number, event?: Event): void;
71 getValueFromHandle(handleValue: number): number;
72 getDecimalsCount(value: number): number;
73 getNormalizedValue(val: number): number;
74 ngOnDestroy(): void;
75 static ɵfac: i0.ɵɵFactoryDeclaration<Slider, never>;
76 static ɵcmp: i0.ɵɵComponentDeclaration<Slider, "p-slider", never, { "animate": "animate"; "disabled": "disabled"; "min": "min"; "max": "max"; "orientation": "orientation"; "step": "step"; "range": "range"; "style": "style"; "styleClass": "styleClass"; "ariaLabelledBy": "ariaLabelledBy"; "tabindex": "tabindex"; }, { "onChange": "onChange"; "onSlideEnd": "onSlideEnd"; }, never, never>;
77}
78export declare class SliderModule {
79 static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
80 static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof Slider], [typeof i1.CommonModule], [typeof Slider]>;
81 static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
82}
Note: See TracBrowser for help on using the repository browser.