code: function onPickerClose() {
            p.opened = false;
            if (p.input && p.input.length > 0) p.input.parents('.page-content').css({'padding-bottom': ''});
            if (p.params.onClose) p.params.onClose(p);
  
            // Destroy events
            p.destroyCalendarEvents();
        }
docs: Open