UNPKG

@catull/igniteui-angular

Version:

Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps

73 lines (72 loc) 1.81 kB
import { IBaseEventArgs } from '../core/utils'; /** * Template directive that allows you to set a custom template representing the lower label value of the {@link IgxSliderComponent} * *```html * <igx-slider> * <ng-template igxSliderThumbFrom let-value let-labels>{{value}}</ng-template> * </igx-slider> * ``` * * @context {@link IgxSliderComponent.context} */ export declare class IgxThumbFromTemplateDirective { } /** * Template directive that allows you to set a custom template representing the upper label value of the {@link IgxSliderComponent} * * ```html * <igx-slider> * <ng-template igxSliderThumbTo let-value let-labels>{{value}}</ng-template> * </igx-slider> * ``` * * @context {@link IgxSliderComponent.context} */ export declare class IgxThumbToTemplateDirective { } /** * Template directive that allows you to set a custom template, represeting primary/secondary tick labels of the {@link IgxSliderComponent} * * @context {@link IgxTicksComponent.context} */ export declare class IgxTickLabelTemplateDirective { } export interface IRangeSliderValue { lower: number; upper: number; } export interface ISliderValueChangeEventArgs extends IBaseEventArgs { oldValue: number | IRangeSliderValue; value: number | IRangeSliderValue; } export declare enum SliderType { /** * Slider with single thumb. */ SLIDER = 0, /** * Range slider with multiple thumbs, that can mark the range. */ RANGE = 1 } export declare enum SliderHandle { FROM = 0, TO = 1 } /** * Slider Tick labels Orientation */ export declare enum TickLabelsOrientation { Horizontal = 0, TopToBottom = 1, BottomToTop = 2 } /** * Slider Ticks orientation */ export declare enum TicksOrientation { Top = 0, Bottom = 1, Mirror = 2 }