ngx-bootstrap
Version:
Native Angular Bootstrap Components
56 lines (55 loc) • 1.48 kB
TypeScript
import { DatepickerRenderOptions, BsDatepickerViewMode } from './models';
/**
* For date range picker there are `BsDaterangepickerConfig` which inherits all properties,
* except `displayMonths`, for range picker it default to `2`
*/
export declare class BsDatepickerConfig implements DatepickerRenderOptions {
value?: Date | Date[];
isDisabled?: boolean;
/**
* Default min date for all date/range pickers
*/
minDate?: Date;
/**
* Default max date for all date/range pickers
*/
maxDate?: Date;
daysDisabled?: number[];
/**
* Makes dates from other months active
*/
selectFromOtherMonth?: boolean;
/**
* Makes dates from other months active
*/
selectWeek?: boolean;
/**
* Add class to current day
*/
customTodayClass?: string;
/**
* Default mode for all date pickers
*/
minMode?: BsDatepickerViewMode;
/** CSS class which will be applied to datepicker container,
* usually used to set color theme
*/
containerClass: string;
displayMonths: number;
/**
* Allows to hide week numbers in datepicker
*/
showWeekNumbers: boolean;
dateInputFormat: string;
rangeSeparator: string;
/**
* Date format for date range input field
*/
rangeInputFormat: string;
monthTitle: string;
yearTitle: string;
dayLabel: string;
monthLabel: string;
yearLabel: string;
weekNumbers: string;
}