mydaterangepicker
Version:
Angular date range picker
53 lines (52 loc) • 1.69 kB
TypeScript
import { IMyDayLabels } from "./my-day-labels.interface";
import { IMyMonthLabels } from "./my-month-labels.interface";
import { IMyDate } from "./my-date.interface";
import { IMyDateRange } from "./my-date-range.interface";
export interface IMyOptions {
dayLabels?: IMyDayLabels;
monthLabels?: IMyMonthLabels;
dateFormat?: string;
showClearBtn?: boolean;
showApplyBtn?: boolean;
showSelectDateText?: boolean;
selectBeginDateTxt?: string;
selectEndDateTxt?: string;
firstDayOfWeek?: string;
sunHighlight?: boolean;
markCurrentDay?: boolean;
markCurrentMonth?: boolean;
markCurrentYear?: boolean;
height?: string;
width?: string;
selectorHeight?: string;
selectorWidth?: string;
inline?: boolean;
showClearDateRangeBtn?: boolean;
selectionTxtFontSize?: string;
alignSelectorRight?: boolean;
indicateInvalidDateRange?: boolean;
editableDateRangeField?: boolean;
monthSelector?: boolean;
yearSelector?: boolean;
disableHeaderButtons?: boolean;
showWeekNumbers?: boolean;
minYear?: number;
maxYear?: number;
disableUntil?: IMyDate;
disableSince?: IMyDate;
disableDates?: Array<IMyDate>;
enableDates?: Array<IMyDate>;
disableDateRanges?: Array<IMyDateRange>;
componentDisabled?: boolean;
showSelectorArrow?: boolean;
openSelectorOnInputClick?: boolean;
ariaLabelInputField?: string;
ariaLabelClearDateRange?: string;
ariaLabelOpenCalendar?: string;
ariaLabelPrevMonth?: string;
ariaLabelNextMonth?: string;
ariaLabelPrevYear?: string;
ariaLabelNextYear?: string;
}
export interface IMyDrpOptions extends IMyOptions {
}