UNPKG

657 BTypeScriptView Raw
1import { PipeTransform } from '@angular/core';
2import { CalendarA11y } from './calendar-a11y.provider';
3import { A11yParams } from './calendar-a11y.interface';
4/**
5 * This pipe is primarily for rendering aria labels. Example usage:
6 * ```typescript
7 * // where `myEvent` is a `CalendarEvent` and myLocale is a locale identifier
8 * {{ { event: myEvent, locale: myLocale } | calendarA11y: 'eventDescription' }}
9 * ```
10 */
11export declare class CalendarA11yPipe implements PipeTransform {
12 private calendarA11y;
13 private locale;
14 constructor(calendarA11y: CalendarA11y, locale: string);
15 transform(a11yParams: A11yParams, method: string): string;
16}