1.1.1 • Published 6 years ago

vue-ios-timer v1.1.1

Weekly downloads
14
License
MIT
Repository
github
Last release
6 years ago

vue-ios-timer

A IOS style time picker based on Vue and better-scroll

Installation

npm i better-scroll --save
npm i vue-ios-timer --save

Setup iosTimer

import Vue from 'vue'
import vueIosTimer from 'vue-ios-timer'

Useage

<ios-timer type="datetime" ref="timer" datetime="2018-10-10 08:30"  @getTime="getTime"></ios-timer>
this.$refs.timer.show()

Constructor options

keydescriptionsdefaultoptions
typeThe three type is optionaldatetimedate,datetime,time
confirmTextconfirmText确定any
cancelTextcancelText取消any
datestart datenew Date()like '1990-10-10' format
datetimestart datetimenew Date()like '1990-10-10 08:30' format
timestart timenew Date()like '08:30' format
getTimecallbacknonenone
showmethod:show timernonenone

License

The MIT License

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago