Litepicker icon indicating copy to clipboard operation
Litepicker copied to clipboard

[Breakpoints] flexible configuration for responsive

Open v-vovk opened this issue 3 years ago • 1 comments

Is it possible to add breakpoints to the constructor? It would be great if we can make smth like this:

new Litepicker({
    ...
    numberOfMonths: 2,
    numberOfColumns: 2,
    breakpoints: {
       767: {
           numberOfMonths: 1,
           numberOfColumns: 1
       },
       ....
   }
})

v-vovk avatar Mar 17 '21 16:03 v-vovk

Nice idea, perhaps it will be included to mobilefriendly plugin.

wakirin avatar Mar 26 '21 12:03 wakirin