UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

31 lines (26 loc) 1.31 kB
/// <reference path="../../../globals.d.ts" /> declare module goog.ui { interface DatePickerRenderer { /** * Render the navigation row. * * @param {!Element} row The parent element to render the component into. * @param {boolean} simpleNavigation Whether the picker should render a simple * navigation menu that only contains controls for navigating to the next * and previous month. The default navigation menu contains controls for * navigating to the next/previous month, next/previous year, and menus for * jumping to specific months and years. * @param {boolean} showWeekNum Whether week numbers should be shown. * @param {string} fullDateFormat The full date format. * {@see goog.i18n.DateTimeSymbols}. */ renderNavigationRow(row: Element, simpleNavigation: boolean, showWeekNum: boolean, fullDateFormat: string): void; /** * Render the footer row. * * @param {!Element} row The parent element to render the component into. * @param {boolean} showWeekNum Whether week numbers should be shown. */ renderFooterRow(row: Element, showWeekNum: boolean): void; } }