theme-lib
Version:
This is a simple example Angular Library published to npm.
33 lines (32 loc) • 1.15 kB
TypeScript
import { EventEmitter, OnInit, Type } from '@angular/core';
import { NbDateService, NbCalendarCell, NbCalendarSize, NbCalendarViewMode } from '../calendar-kit';
export declare class NbBaseCalendarComponent<D, T> implements OnInit {
protected dateService: NbDateService<D>;
boundingMonth: boolean;
activeViewMode: NbCalendarViewMode;
min: D;
max: D;
filter: (D: any) => boolean;
dayCellComponent: Type<NbCalendarCell<D, T>>;
monthCellComponent: Type<NbCalendarCell<D, T>>;
yearCellComponent: Type<NbCalendarCell<D, T>>;
size: NbCalendarSize;
visibleDate: D;
showHeader: boolean;
date: T;
dateChange: EventEmitter<T>;
constructor(dateService: NbDateService<D>);
ngOnInit(): void;
readonly medium: boolean;
readonly large: boolean;
ViewMode: typeof NbCalendarViewMode;
setViewMode(viewMode: NbCalendarViewMode): void;
setVisibleDate(visibleDate: D): void;
prevMonth(): void;
nextMonth(): void;
prevYears(): void;
nextYears(): void;
navigateToday(): void;
private changeVisibleMonth;
private changeVisibleYear;
}