UNPKG

@quantlab/handsontable

Version:

Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs

58 lines (46 loc) 2.11 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> <title>Pikaday - ranges example</title> <meta name="author" content="Maxime Thirouin"> <link rel="stylesheet" href="../css/pikaday.css"> <link rel="stylesheet" href="../css/site.css"> </head> <body> <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a> <h1>Pikaday</h1> <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p> <label for="datepicker">Date:</label> <br /> 2 months <input type="text" id="datepicker-2months"> <br /> 3 months, main aligned to right <input type="text" id="datepicker-3months-right"> <h2>What is this?</h2> <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p> <p class="small">Copyright © 2013 <a href="http://dbushell.com/">David Bushell</a> | BSD &amp; MIT license | Example by <a href="https://github.com/MoOx">MoOx</a></p> <script src="../pikaday.js"></script> <script> var picker2months = new Pikaday( { numberOfMonths: 2, field: document.getElementById('datepicker-2months'), firstDay: 1, minDate: new Date(2000, 0, 1), maxDate: new Date(2020, 12, 31), yearRange: [2000, 2020] }); var picker3monthsRight = new Pikaday( { numberOfMonths: 3, mainCalendar: 'right', field: document.getElementById('datepicker-3months-right'), firstDay: 1, minDate: new Date(2000, 0, 1), maxDate: new Date(2020, 12, 31), yearRange: [2000, 2020] }); </script> </body> </html>