acomp

0.1.4 • Public • Published

acomp

Autocompletion & input validation for dates & times

How to use it

Browser textfield:

const acomp = require('acomp')
 
acomp.create(acomp.inputModel.TimeSimple12And24(), acomp.inputController.TextFieldJquery('#time'))

Models

TimeSimple12And24: Simple time model that accepts HH:MM aswell as HH:MM [am/pm]

DateDDMMYYYY: Date model that accepts DD.MM.YYYY

Package Sidebar

Install

npm i acomp

Weekly Downloads

1

Version

0.1.4

License

MPL-2.0

Unpacked Size

8.45 kB

Total Files

8

Last publish

Collaborators

  • mkg20001