Skip to content

This is a native date picker library that requires no dependency, it's very simple and usable

Notifications You must be signed in to change notification settings

AtlasNCz/Native-JS-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Native-JS-Date-Picker

A simple date picker popup, where the user can select a date and set it to a html element

Getting Started

Just include "date-picker.js" in your html page
It creates a Date_picker object called date_picker, all you need to do is to assign an onclick event to an element calling the function "date_picker.open()" with the output element as a parameter, if the output element is the same one you signed the event you can just pass "this" as the parameter

<input type="text" onclick="date_picker.open(this)">

Examples

You can see examples and different themes at https://atlasncz.github.io/Native-JS-date-picker/

Authors

About

This is a native date picker library that requires no dependency, it's very simple and usable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published