日期和时间选择器Js插件

日期和时间选择器Js插件源码下载

看看谁在用

查看文件目录结构

文件大小:0.09M

素材分类: 插件- 时间

更新时间:2021-08-23

一个简单的时间日历选择Js插件,使用JavaScript库添加一个高度可定制的日期&时间选择器。

全部配置参数
const opitons = {
  "appendTo": document.body,
  "autoClose": true,
  "autoHideOnBlur": true,
  "autoHideOnClick": true,
  "date": true,
  "dateValidator": Function.prototype,
  "dayFormat": "DD",
  "initialValue": null,
  "inputFormat": "YYYY-MM-DD HH:mm",
  "invalidate": true,
  "max": null,
  "min": null,
  "monthFormat": "MMMM YYYY",
  "monthsInCalendar": 1,
  "required": false,
  "strictParse": false,
  "styles": {
    "back": "rd-back",
    "container": "rd-container",
    "date": "rd-date",
    "dayBody": "rd-days-body",
    "dayBodyElem": "rd-day-body",
    "dayConcealed": "rd-day-concealed",
    "dayDisabled": "rd-day-disabled",
    "dayHead": "rd-days-head",
    "dayHeadElem": "rd-day-head",
    "dayRow": "rd-days-row",
    "dayTable": "rd-days",
    "month": "rd-month",
    "next": "rd-next",
    "positioned": "rd-container-attachment",
    "selectedDay": "rd-day-selected",
    "selectedTime": "rd-time-selected",
    "time": "rd-time",
    "timeList": "rd-time-list",
    "timeOption": "rd-time-option"
  },
  "time": true,
  "timeFormat": "HH:mm",
  "timeInterval": 1800,
  "timeValidator": Function.prototype,
  "weekdayFormat": "min",
  "weekStart": moment().weekday(0).day()
}
API方法
// Shows the picker
.show()

// Hides the picker
.hide()

// Gets the current date
.getDate()

// Gets the current date string
.getDateString(format)

// Gets the moment object
.getMoment()

// Destroys the picker
.destroy()

// restores the picker
.restore(options)

// Updates options
.options(options?)

// Resets the options
.options.reset()

// Emits all values
.emitValues()

// Sets the value
.setValue(value)

// Refreshes the picker
.refresh()

// Backs to the previous month
.back()

// Goes to the next month
.next()

日期和时间选择器Js插件

正在加载文件目录...

用户7501415290下载了 此素材
非凡下载了 此素材
bbby奇诺下载了 此素材
源源源下载了 此素材
匆匆那年下载了 此素材
yh收藏了 此素材
一秒科技/$下载了 此素材
try混搭下载了 此素材
二泉下载了 此素材
二泉收藏了 此素材

也许你还喜欢

  1. jquery日历插件自适用手机端
  2. WdatePicker.js日历插件
  3. js实现双日历插件代码
  4. Android样式日期选择插件
  5. 多格式js移动端日期选择插件rolldate.js
  6. CalendarPicker.js创意日历插件
  7. jquery弹出选择出生日期特效
  8. Calendarize.js日历插件
时尚的立体样式动态时钟
  • 标签查找|关于我们|用户协议|格式化工具|bootstrapmb.com 版权所有
  • 背景样式编辑器|按钮样式编辑器|背景动效编辑器|图片布局编辑器