Last active
December 21, 2015 00:39
-
-
Save andrefs/6222182 to your computer and use it in GitHub Desktop.
Ink.js Datepicker plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="http://cdn.ink.sapo.pt/2.2.0/css/ink.css"> | |
<!--script type="text/javascript" src="http://cdn.ink.sapo.pt/2.2.0/js/ink.min.js"></script--> | |
<!--script type="text/javascript" src="http://cdn.ink.sapo.pt/2.2.0/js/ink.datepicker.js"></script--> | |
<script type="text/javascript" src="http://cdn.ink.sapo.pt/2.2.0/js/ink-all.min.js"></script> | |
</head> | |
<body> | |
<input type="text" id="date" class="ink-datepicker"> | |
<script> | |
// There are two ways to run the code... | |
// 1 - If you know you have the component and its dependencies already loaded, just do: | |
var datepicker = new Ink.UI.DatePicker( '.ink-datepicker' ); | |
</script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment