Skip to content

Commit

Permalink
fix: add missing import to CalendarA11y example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vandents authored Aug 26, 2019
1 parent f98c709 commit fc0159b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import { A11yParams } from './calendar-a11y.interface';
*
* ```typescript
* import { A11yParams, CalendarA11y } from 'angular-calendar';
* import { formatDate } from '@angular/common';
* import { formatDate, I18nPluralPipe } from '@angular/common';
*
* // adding your own a11y params
* export interface CustomA11yParams extends A11yParams {
* isDrSuess?: boolean;
* }
*
* export class CustomCalendarA11y extends CalendarA11y {
* constructor(protected i18nPlural: I18nPluralPipe) {
* super(i18nPlural);
* }
* constructor(protected i18nPlural: I18nPluralPipe) {
* super(i18nPlural);
* }
*
* // overriding a function
* public openDayEventsLandmark({ date, locale, isDrSuess }: CustomA11yParams): string {
Expand Down

0 comments on commit fc0159b

Please sign in to comment.