Restrict the Custom element Calendar navigation with the setMinDate and setMaxDate methods.
The navigation is restricted from 01/01/2019 to 01/01/2020