flymis/WebRoot/dojojs/src/widget/DropdownDatePicker.js
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.widget.DropdownDatePicker");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.DropdownContainer");
dojo.require("dojo.widget.DatePicker");
dojo.require("dojo.event.*");
dojo.require("dojo.html.*");
dojo.require("dojo.date.format");
dojo.require("dojo.date.serialize");
dojo.require("dojo.string.common");
dojo.require("dojo.i18n.common");
dojo.requireLocalization("dojo.widget", "DropdownDatePicker");
dojo.widget.defineWidget(
"dojo.widget.DropdownDatePicker",
dojo.widget.DropdownContainer,
{
/*
summary:
A form input for entering dates with a pop-up dojo.widget.DatePicker to aid in selection
description:
This is DatePicker in a DropdownContainer, it supports all features of DatePicker.
The value displayed in the widget is localized according to the default algorithm provided
in dojo.date.format and dojo.date.parse. It is possible to customize the user-visible formatting
with either the formatLength or displayFormat attributes. The value sent to the server is
typically a locale-independent value in a hidden field as defined by the name attribute.
RFC3339 representation is used by default, but other options are available with saveFormat.
usage:
var ddp = dojo.widget.createWidget("DropdownDatePicker", {},
dojo.byId("DropdownDatePickerNode"));
<input dojoType="DropdownDatePicker">
*/
iconURL: dojo.uri.dojoUri("src/widget/templates/images/dateIcon.gif"),
zIndex: "10",
//String
// Type of visible formatting used, appropriate to locale (choice of long, short, medium or full)
// See dojo.date.format for details.
formatLength: "short",
//String
// Pattern used to display formatted date. Setting this overrides the locale-specific settings
// which are used by default. See dojo.date.format for a reference which defines the formatting patterns.
displayFormat: "",
dateFormat: "", // deprecated in 0.5
//String
后面还有 168 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。