现在的位置: 首页 > web前端 > 正文

最新FullCalendar中文文档

2020年02月12日 web前端 ⁄ 共 3303字 ⁄ 字号 评论关闭
文章目录

Fullcalendar是一款用来管理日程安排、工作计划的日历工具,它功能非常强大而且非常实用。而目前网络上没有很好的中文文档,为了更好的和大家分享Fullcalendar的相关使用,即日起计划将Fullcalendar的英文文档翻译成中文版。

本站几年前发表过几篇有关FullCalendar的文章,深受广大同学的喜爱,而如今,由于版本陈旧,很多同学要求更新最新版本的Fullcalendar应用。目前FullCalendar的最新版本是v3.6.2,下载地址:https://fullcalendar.io/download/,作者一直在更新,目前依赖jQuery,希望能出基于React和Vue的版本。我的翻译是基于官方英文文档,结合自己理解,尽量使用通俗易懂的语言描述,并结合演示实例讲解。目前翻译还在继续,不断会有更新,不足之处,欢迎指正。

基本使用

通用显示

header footer customButtons buttonIcons themeSystem themeButtonIcons bootstrapGlyphicons firstDay isRTL weekends hiddenDays columnHeader fixedWeekCount weekNumbers weekNumbersWithinDays weekNumberCalculation businessHours showNonCurrentDates height contentHeight aspectRatio handleWindowResize windowResizeDelay eventLimit eventLimitClick viewRender (callback) viewDestroy (callback) dayRender (callback) windowResize (callback) render (method) destroy (method)

Timezone(时区)

timezone now

Views(视图)

Available Views Custom Views Generic Views View-Specific Options View Object defaultView getView (method) changeView (method)

Agenda Options(日程选项)

allDaySlot allDayText slotDuration slotLabelFormat slotLabelInterval scrollTime minTime maxTime slotEventOverlap agendaEventMinHeight

List View(列表视图)

What is List View? listDayFormat listDayAltFormat noEventsMessage

Current Date(当前日期)

defaultDate nowIndicator visibleRange validRange dateIncrement duration dayCount prev (method) next (method) prevYear (method) nextYear (method) today (method) gotoDate (method) incrementDate (method) getDate (method)

Text/Time Customization(自定义文本和时间)

locale timeFormat columnFormat titleFormat buttonText monthNames monthNamesShort dayNames dayNamesShort weekNumberTitle displayEventTime displayEventEnd eventLimitText dayPopoverFormat

Clicking & Hovering(鼠标单击和悬停)

navLinks navLinkDayClick (callback) navLinkWeekClick (callback) dayClick (callback) eventClick (callback) eventMouseover (callback) eventMouseout (callback)

Selection(选中)

Touch Support selectable selectHelper unselectAuto unselectCancel selectOverlap selectConstraint selectAllow selectMinDistance selectLongPressDelay select (callback) unselect (callback) select (method) unselect (method)

Utilities

Moment Duration date formatting string formatRange (function) get / set options dynamically on / off

Event Data(事件数据)

Event Objec Event Source Objec events (as an array) events (as a json feed) events (as a function) eventSources allDayDefault startParam endParam timezoneParam lazyFetching defaultTimedEventDuration defaultAllDayEventDuration forceEventDuration eventDataTransform loading (callback) updateEvent (method) updateEvents (method) clientEvents (method) removeEvents (method) refetchEvents (method) refetchEventSources (method) addEventSource (method) removeEventSource (method) removeEventSources (method) getEventSources (method) getEventSourceById (method)

Event Rendering(事件渲染)

Colors eventColor eventBackgroundColor eventBorderColor eventTextColor nextDayThreshold eventOrder eventRenderWait eventRender (callback) eventAfterRender (callback) eventAfterAllRender (callback) eventDestroy (callback) renderEvent (method) renderEvents (method) rerenderEvents (method)

Event Dragging & Resizing(事件拖放)

Touch Support editable eventStartEditable eventDurationEditable dragRevertDuration dragOpacity dragScroll eventOverlap eventConstraint eventAllow longPressDelay eventLongPressDelay eventDragStart (callback) eventDragStop (callback) eventDrop (callback) eventResizeStart (callback) eventResizeStop (callback) eventResize (callback)

官方英文文档地址: https://fullcalendar.io/docs/。

以上就上有关最新FullCalendar中文文档的相关介绍,要了解更多Fullcalendar,javascript内容请登录学步园。

抱歉!评论已关闭.