UNPKG

igniteui-angular

Version:

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

74 lines (73 loc) 2.85 kB
import { TemplateRef } from '@angular/core'; import { TicksOrientation, TickLabelsOrientation } from '../slider.common'; import * as i0 from "@angular/core"; /** * @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 */ get ticksTopClass(): boolean; /** * @hidden */ get hasPrimaryClass(): boolean; /** * @hidden */ get labelsTopToBottomClass(): boolean; /** * @hidden */ get 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 */ get ticksLength(): number; hiddenTickLabels(idx: number): boolean; /** * @hidden */ isPrimary(idx: number): boolean; /** * @hidden */ tickLabel(idx: number): string | number | boolean; static ɵfac: i0.ɵɵFactoryDeclaration<IgxTicksComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IgxTicksComponent, "igx-ticks", never, { "primaryTicks": { "alias": "primaryTicks"; "required": false; }; "secondaryTicks": { "alias": "secondaryTicks"; "required": false; }; "primaryTickLabels": { "alias": "primaryTickLabels"; "required": false; }; "secondaryTickLabels": { "alias": "secondaryTickLabels"; "required": false; }; "ticksOrientation": { "alias": "ticksOrientation"; "required": false; }; "tickLabelsOrientation": { "alias": "tickLabelsOrientation"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "labelsViewEnabled": { "alias": "labelsViewEnabled"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "tickLabelTemplateRef": { "alias": "tickLabelTemplateRef"; "required": false; }; }, {}, never, never, true, never>; static ngAcceptInputType_primaryTickLabels: unknown; static ngAcceptInputType_secondaryTickLabels: unknown; static ngAcceptInputType_labelsViewEnabled: unknown; }