Litepicker
Litepicker copied to clipboard
Comment on the getting started section of the project website - add HTML example like this.
Hi,
may I suggest to add a simple HTML example to the getting started page at https://litepicker.com/#getting-started.
At the moment the page doesn't mention that that need to call the picker.show()
to see it. This makes it hard for JavaScript noobs (like myself) to get started and
to see a working example in their browser.
An example that would have helped me a lot would look like this: `
<!DOCTYPE html>
<html lang="en-US">
<head>
<script src="https://cdn.jsdelivr.net/npm/litepicker/dist/bundle.js">/script>
</head>
<body>
<div id="litepicker"></div>
<script>
const picker = new Litepicker({
element: document.getElementById('litepicker')
});
picker.show()
</script>
</body>
</html>
`
I agree, thanks for commenting it here!