📄 application.calendarselect.js
字号:
/** * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -