<!DOCTYPE html>
<html>
<head>
<script src="datepicker.js"></script>
</head>
<body>
<!-- <date-picker input-style="background: blue; width: 200px;" date="foo"></date-picker> -->
<date-picker></date-picker>
<button id="button">get date</button>
<script>
document.getElementById("button").addEventListener("click", (e) => {
let datepicker = document.querySelector("date-picker");
console.log(datepicker.value);
});
</script>
</body>
</html>
-
Notifications
You must be signed in to change notification settings - Fork 0
8483/web-components
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
UI library
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published