我想将fullCalendar放入指定的div空间,给它一个流畅的效果但是很难做到.我甚至尝试使用纵横比但没有运气....下面是我到目前为止所做的
$(window).resize(function() {
var ratio = $(window).width()/$(window).height();
$('.resize').html('<div>ratio:'+ratio+'</div>');
calendar.fullCalendar('option', 'aspectRatio', ratio);
});
Run Code Online (Sandbox Code Playgroud) fullcalendar ×1