ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
36 lines (35 loc) • 1.3 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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 { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { NGStyleInterface } from 'ng-zorro-antd/core';
import { NzToolTipComponent } from 'ng-zorro-antd/tooltip';
import { SliderShowTooltip } from './nz-slider-definitions';
import { NzSliderComponent } from './nz-slider.component';
export declare class NzSliderHandleComponent implements OnChanges, OnDestroy {
private sliderComponent;
private cdr;
tooltip: NzToolTipComponent;
nzVertical: string;
nzOffset: number;
nzValue: number;
nzTooltipVisible: SliderShowTooltip;
nzTipFormatter: (value: number) => string;
nzActive: boolean;
tooltipTitle: string;
style: NGStyleInterface;
private hovers_;
constructor(sliderComponent: NzSliderComponent, cdr: ChangeDetectorRef);
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
enterHandle: () => void;
leaveHandle: () => void;
private toggleTooltip;
private updateTooltipTitle;
private updateTooltipPosition;
private updateStyle;
}