最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

bootstrap日期和時間選擇器怎么用

bootstrap日期和時間選擇器怎么用

慕容森 2019-05-31 02:02:23
bootstrap日期和時間選擇器怎么用
查看完整描述

3 回答

?
慕虎7371278

TA貢獻1802條經(jīng)驗 獲得超4個贊

 Bootstrap-DateTimePicker是基于Bootstrap3的日期-時間選擇器控件,允許自定義時間選擇器圖標,設(shè)置圖標是否顯示,自定義日期顯示格式,禁用日期選擇器,設(shè)置是否禁用日期選擇器、時間選擇器、分鐘選擇器、秒選擇器,設(shè)置日期的數(shù)據(jù)范圍。
  $.fn.datetimepicker.defaults = {
pickDate: true, //en/disables the date picker
pickTime: true, //en/disables the time picker
useMinutes: true, //en/disables the minutes picker
useSeconds: true, //en/disables the seconds picker
useCurrent: true, //when true, picker will set the value to the current date/time
minuteStepping:1, //set the minute stepping
minDate:`1/1/1900`, //set a minimum date
maxDate: , //set a maximum date (defaults to today +100 years)
showToday: true, //shows the today indicator
language:’en’, //sets language locale
defaultDate:”", //sets a default date, accepts js dates, strings and moment objects
disabledDates:[], //an array of dates that cannot be selected
enabledDates:[], //an array of dates that can be selected
icons = {
time: ‘glyphicon glyphicon-time’,
date: ‘glyphicon glyphicon-calendar’,
up: ‘glyphicon glyphicon-chevron-up’,
down: ‘glyphicon glyphicon-chevron-down’
}
useStrict: false, //use “strict” when validating dates
sideBySide: false, //show the date and time picker side by side
daysOfWeekDisabled:[] //for example use daysOfWeekDisabled: [0,6] to disable weekends
};





查看完整回答
反對 回復 2019-06-01
  • 3 回答
  • 0 關(guān)注
  • 940 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號