datepicker_VueJ的Datepicker组件

datepicker

Vue Datepicker组件 (Vue Datepicker Component)

A Datepicker Component For VueJs.

VueJ的Datepicker组件。

rangePicker

singlepicker

rangepicker

道具 (Props)

<Calendar 
    v-model="" 
    :range="" 
    :lang="" 
    :firstDayOfWeek="" 
    :input-class="" 
    :position="" 
    :disabled-start-date="" 
    :disabled-end-date=""
    :text-format="" 
    :date-format=""/>
PropValue
value (v-model)Date or Array for range
rangeBoolean - (default: false)
langString / Supports all languages / iso code language / default: 'tr'
firstDayOfWeekmonday or sunday (default: monday)
inputClassString / classname for input
positionString / options = top, bottom, left, right / default: left
disabled-start-dateObject . This object consists of the start and end information(from and to params). ( For single status and range status of startDate). Default: { from: null, to: null}
disabled-end-dateObject . It has the same with disabled-start-end. (For range status of end Date. Ignored in single status.)
text-formatString / Short And Long / Short and long formats of month and day names
date-formatObject / This is the format in which the selected date will be displayed to the user. / default: { day: '2-digit', month: 'long', year: 'numeric' }
Struts
值(v模型) 日期或范围数组
范围 布尔值-(默认值:false)
字符串/支持所有语言/ ISO代码语言/默认值:'tr'
firstDayOfWeek 星期一或星期天(默认值:星期一)
inputClass 输入的字符串/类名
位置 字符串/选项=顶部,底部,左侧,右侧/默认值:左侧
禁用开始日期 对象。 该对象由开始和结束信息(从参数到参数)组成。 (用于startDate的单个状态和范围状态)。 默认值:{从:空,到:空}
禁用结束日期 对象。 它与disabled-start-end相同。 (对于结束日期的范围状态。在单个状态中被忽略。)
文字格式 字符串/短和长/月和日名称的短和长格式
日期格式 对象/这是向用户显示所选日期的格式。 /默认值:{天:“两位数”,月:“长”,年:“数字”}

翻译自: https://vuejsexamples.com/a-datepicker-component-for-vuejs/

datepicker

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值