0.4.11 • Published 7 years ago

nuke-time-picker v0.4.11

Weekly downloads
104
License
-
Repository
gitlab
Last release
7 years ago

TimePicker

  • category: UI
  • chinese: 时间选择器
  • type: UI组件

何时使用

获取时间输入。

仅千牛端内可用

API

TimePicker.show(options,onNotify,onCancel,afterOpen,onFail)

  • options 参数
参数说明类型默认值
title标题string
type枚举 date,time,datetimestringdate
default默认值日期字符串,如'2016/10/21'
  • onNotify:TimePicker 确认触发的事件
  • onCancel:TimePicker 取消触发的事件
  • afterOpen:TimePicker 成功渲染触发的事件
  • onFail :TimePicker 渲染失败触发的事件
    TimePicker.show({
        title:'请选择日期',
        default:'2016/10/21', 
        type:'date'
    },(e)=>{
        console.log('select date ',e)
    },(e)=>{
        console.log('canceled',e)
    },()=>{
        console.log('datepicker showed')
    },()=>{
        console.log('datepicker render fail')
    });
0.4.11

7 years ago

0.4.10

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.7

8 years ago

0.4.6

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago