VanillaAutoComplete Example

It's a simple AutoComplete in JS Vanilla

Options

Property Default/Type Description
selector string or object selector Required selector for construct Calendar
onSelect
Callback function
A callback function to capture the date selected
  • 'data' is result contained in the selected date
  • 'element' is the element clicked
  • 'event' is the event triggered
e.g:
onSelect((data, element, event) => {

})