1.1.1 • Published 5 years ago

vue-ios-timer v1.1.1

Weekly downloads
14
License
MIT
Repository
github
Last release
5 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

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago