UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

42 lines (41 loc) 1.93 kB
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Direction } from '@angular/cdk/bidi'; import { ChangeDetectorRef, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import { BooleanInput, NgStyleInterface } from 'ng-zorro-antd/core/types'; import { NzTooltipDirective } from 'ng-zorro-antd/tooltip'; import { NzSliderService } from './slider.service'; import { NzSliderShowTooltip } from './typings'; import * as i0 from "@angular/core"; export declare class NzSliderHandleComponent implements OnChanges { private sliderService; private cdr; static ngAcceptInputType_active: BooleanInput; handleEl?: ElementRef; tooltip?: NzTooltipDirective; vertical?: boolean; reverse?: boolean; offset?: number; value?: number; tooltipVisible: NzSliderShowTooltip; tooltipPlacement?: string; tooltipFormatter?: null | ((value: number) => string); active: boolean; dir: Direction; tooltipTitle?: string; style: NgStyleInterface; constructor(sliderService: NzSliderService, cdr: ChangeDetectorRef); ngOnChanges(changes: SimpleChanges): void; enterHandle: () => void; leaveHandle: () => void; focus(): void; private toggleTooltip; private updateTooltipTitle; private updateTooltipPosition; private updateStyle; private getHorizontalStylePosition; static ɵfac: i0.ɵɵFactoryDeclaration<NzSliderHandleComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NzSliderHandleComponent, "nz-slider-handle", ["nzSliderHandle"], { "vertical": "vertical"; "reverse": "reverse"; "offset": "offset"; "value": "value"; "tooltipVisible": "tooltipVisible"; "tooltipPlacement": "tooltipPlacement"; "tooltipFormatter": "tooltipFormatter"; "active": "active"; "dir": "dir"; }, {}, never, never>; }