UNPKG

md2

Version:

Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Chips(Tags), Collapse, Colorpicker, Data Table, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.

41 lines (40 loc) 1.53 kB
import { EventEmitter } from '@angular/core'; /** * An internal class that represents the data corresponding to a single calendar cell. * @docs-private */ export declare class Md2CalendarCell { value: number; displayValue: string; ariaLabel: string; enabled: boolean; constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean); } /** * An internal component used to display calendar data in a table. * @docs-private */ export declare class Md2CalendarBody { /** The label for the table. (e.g. "Jan 2017"). */ label: string; /** The cells to display in the table. */ rows: Md2CalendarCell[][]; /** The value in the table that corresponds to today. */ todayValue: number; /** The value in the table that is currently selected. */ selectedValue: number; /** The minimum number of free cells needed to fit the label in the first row. */ labelMinRequiredCells: number; /** The number of columns in the table. */ numCols: number; /** Whether to allow selection of disabled cells. */ allowDisabledSelection: boolean; /** The cell number of the active cell in the table. */ activeCell: number; /** Emits when a new value is selected. */ selectedValueChange: EventEmitter<number>; _cellClicked(cell: Md2CalendarCell): void; /** The number of blank cells to put at the beginning for the first row. */ readonly _firstRowOffset: number; _isActiveCell(rowIndex: number, colIndex: number): boolean; }