forked from alumuko/vanilla-datetimerange-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatetime-example-simple.html
More file actions
19 lines (19 loc) · 962 Bytes
/
datetime-example-simple.html
File metadata and controls
19 lines (19 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alumuko/vanilla-datetimerange-picker@latest/dist/vanilla-datetimerange-picker.css">
<title>vanilla-datetimerange-picker simple example.</title>
</head>
<body>
<input type="text" id="datetimerange-input1" size="24" style="text-align:center">
<script src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/alumuko/vanilla-datetimerange-picker@latest/dist/vanilla-datetimerange-picker.js"></script>
<script>
window.addEventListener("load", function (event) {
new DateRangePicker('datetimerange-input1');
});
</script>
</body>
</html>