flymis/WebRoot/dojojs/src/widget/DropdownTimePicker.js
(开头部分) 4KB这里只显示每个文件的开头 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.DropdownTimePicker");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.DropdownContainer");
dojo.require("dojo.widget.TimePicker");
dojo.require("dojo.event.*");
dojo.require("dojo.html.*");
dojo.require("dojo.date.format");
dojo.require("dojo.date.serialize");
dojo.require("dojo.i18n.common");
dojo.requireLocalization("dojo.widget", "DropdownTimePicker");
// summary
// input box with a drop-down gui control, for setting the time (hours, minutes, seconds, am/pm) of an event
dojo.widget.defineWidget(
"dojo.widget.DropdownTimePicker",
dojo.widget.DropdownContainer,
{
// URL
// path of icon for button to display time picker widget
iconURL: dojo.uri.dojoUri("src/widget/templates/images/timeIcon.gif"),
// Number
// z-index of time picker widget
zIndex: "10",
// pattern used in display of formatted time. Uses locale-specific format by default. See dojo.date.format.
displayFormat: "",
// String
// Deprecated. format string for how time is displayed in the input box using strftime, see dojo.date.strftime
timeFormat: "",
//FIXME: need saveFormat attribute support
// type of format appropriate to locale. see dojo.date.format
formatLength: "short",
// String
// time value in RFC3339 format (http://www.ietf.org/rfc/rfc3339.txt)
// ex: 12:00
value: "",
postMixInProperties: function() {
dojo.widget.DropdownTimePicker.superclass.postMixInProperties.apply(this, arguments);
var messages = dojo.i18n.getLocalization("dojo.widget", "DropdownTimePicker", this.lang);
this.iconAlt = messages.selectTime;
},
fillInTemplate: function(){
后面还有 56 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。