UNPKG

@catull/igniteui-angular

Version:

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

68 lines (67 loc) 1.69 kB
import { TemplateRef } from '@angular/core'; import { TicksOrientation, TickLabelsOrientation } from '../slider.common'; /** * @hidden */ export declare class IgxTicksComponent { primaryTicks: number; secondaryTicks: number; primaryTickLabels: boolean; secondaryTickLabels: boolean; ticksOrientation: TicksOrientation; tickLabelsOrientation: TickLabelsOrientation; maxValue: number; minValue: number; labelsViewEnabled: boolean; labels: Array<number | string | boolean | null | undefined>; tickLabelTemplateRef: TemplateRef<any>; /** * @hidden */ ticksClass: boolean; /** * @hidden */ readonly ticksTopClass: boolean; /** * @hidden */ readonly hasPrimaryClass: boolean; /** * @hidden */ readonly labelsTopToBottomClass: boolean; /** * @hidden */ readonly labelsBottomToTopClass: boolean; /** * Returns the template context corresponding to * {@link IgxTickLabelTemplateDirective} * * ```typescript * return { * $implicit //returns the value per each tick label. * isPrimery //returns if the tick is primary. * labels // returns the {@link labels} collection. * index // returns the index per each tick of the whole sequence. * } * ``` * * @param idx the index per each tick label. */ context(idx: number): any; /** * @hidden */ readonly ticksLength: number; hiddenTickLabels(idx: number): boolean; /** * @hidden */ isPrimary(idx: number): boolean; /** * @hidden */ tickLabel(idx: number): string | number | boolean; }