{"repo":"DateDreamer/datedreamer","free":true,"listed":false,"github":"https://github.com/DateDreamer/datedreamer","clone":"git clone https://github.com/DateDreamer/datedreamer.git","description":"An easy to use lightweight javascript calendar library.","language":"TypeScript","stars":14,"topics":["calendar","datepicker","javascript","typescript"],"license":"GPL-3.0","category":"productivity","readme_excerpt":"DateDreamer An easy to use lightweight javascript calendar library. Install & Usage Install Install DateDreamer with either yarn or npm. ### Use OR OR Standalone Calendar Use this if you want a standalone calendar that comes with an input filled and a Today button. element : Sets where to insert the calendar to. Can be either a CSS selector string or an HTMLElement object. selectedDate : Sets the starting date for the calendar. Can be set to a date string, Date object, or null. If null, todays date will be selected by default. If a string is passed, the format option should also be passed in order for the calendar to know the format of the selectedDate that you are passing. format : Use this to specify the input AND output format of the date. Please see the available formats from DayJS. Example: 'DD/MM/YYYY' iconNext : Sets the next arrow icon. You can pass it either text or an svg. iconPrev : Sets the previous arrow icon. You can pass it either text or an svg. inputLabel : Sets the label of the date input element. inputPlaceholder : Sets the placeholder of the date input element. hideInputs : Hides the input and today button from the UI. onChange : Use this to provide a callback function that the calendar will call when the date is changed. The callback function will receive a CustomEvent argument that will include the chosen date inside the detail property. onRender : Use this to provide a callback function that the calendar will call when the calendar is rendered. The call","default_branch":null,"files":null,"tree":[],"storefront":"/r/DateDreamer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DateDreamer/datedreamer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}