application.calendarselect.js

来自「echo3 很炫的ajax框架技术 js 演示demo ajax j2ee 里」· JavaScript 代码 · 共 37 行

JS
37
字号
/** * CalendarSelect component: an input component which allows selection of a single date.  Displays a representation of a calendar, * showing the currently selected month/year.  May not contain child components. * * @cp {Date} date the selected date * @sp {#Color} adjacentMonthDateBackground background color for dates in previous/next months * @sp {#Color} adjacentMonthDateForeground foreground color for dates in previous/next months * @sp {#Border} border the border wrapping the calendar * @sp {#FillImage} backgroundImage calendar background image * @sp {#Color} dateBackground default background color of date cells * @sp {#FillImage} dateBackgroundImage default background image of date cells (note that this image is displayed behind the  *     entire calendar date grid, rather than being repeated in each cell) * @sp {#Border} dateBorder default border of date cells * @sp {#Color} dateForeground default foreground color of date cells * @sp {Number} dayOfWeekNameAbbreviationLength number of characters to use in abbreviated day names (default 2) * @sp {#Color} headerBackground background color of the week header * @sp {#FillImage} headerBackgroundImage background image of the week header * @sp {#Color} headerForeground foreground color of the week header * @sp {#Color} rolloverDateBackground rollover background color of date cells * @sp {#Color} rolloverDateBorder rollover border of date cells * @sp {#FillImage} rolloverDateBackgroundImage rollover background image of date cells * @sp {#Color} rolloverDateForeground rollover foreground color of date cells * @sp {#Color} selectedDateBackground background color of selected date * @sp {#Border} selectedDateBorder border of selected date * @sp {#FillImage} selectedDateBackgroundImage background image of selected date * @sp {#Color} selectedDateForeground foreground color of selected date */Extras.CalendarSelect = Core.extend(Echo.Component, {    $load: function() {        Echo.ComponentFactory.registerType("Extras.CalendarSelect", this);    },        /** @see Echo.Component#componentType */    componentType: "Extras.CalendarSelect"});

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?