开发者

jquery fullcalendar overwrite buildSkeleton method

开发者 https://www.devze.com 2023-03-21 02:04 出处:网络
I\'d like to overwri开发者_如何学Cte the buildSkeleton method used in the fullCalendar plugin. I\'m trying to remove the table,tr,td and replace them with regular divs.

I'd like to overwri开发者_如何学Cte the buildSkeleton method used in the fullCalendar plugin.

I'm trying to remove the table,tr,td and replace them with regular divs.

Thanks


If we take a look at https://github.com/arshaw/fullcalendar/blob/master/src/basic/BasicView.js you'll see the buildSkeleton is a private function. However, renderBasic is public and makes use of buildSkeleton.

If you can successfully override the renderBasic you should be all good to go. However, your optimal path might be to actually fork the project (it obviously is open source) and add in the option of using a div skeleton over a table skeleton.

0

精彩评论

暂无评论...
验证码 换一张
取 消