Javascript 在事件对象中使用extendedProps时,为什么FullCalendar事件解析仅限于位置和描述?

Javascript 在事件对象中使用extendedProps时,为什么FullCalendar事件解析仅限于位置和描述?,javascript,jquery,fullcalendar,fullcalendar-4,Javascript,Jquery,Fullcalendar,Fullcalendar 4,我的Google事件有几个扩展属性。我能够在php中检索这些值,以验证它们是否作为事件的一部分存在 FullCal文档位于 国家: 扩展属性。。。 Google Calendar的API允许您为事件指定扩展属性。扩展属性将在每个事件对象的extendedProps哈希中可用 在控制台中查看FullCal对象时,仅显示“位置”和“说明”。 GoogleEvent对象非常庞大,有许多其他属性与location和description(开始、结束、组织者等)处于同一级别,那么为什么它们中的大多数不在F

我的Google事件有几个扩展属性。我能够在php中检索这些值,以验证它们是否作为事件的一部分存在

FullCal文档位于 国家:

扩展属性。。。 Google Calendar的API允许您为事件指定扩展属性。扩展属性将在每个事件对象的extendedProps哈希中可用

在控制台中查看FullCal对象时,仅显示“位置”和“说明”。
GoogleEvent对象非常庞大,有许多其他属性与location和description(开始、结束、组织者等)处于同一级别,那么为什么它们中的大多数不在FullCal事件对象中呢

我的FullCal事件渲染具有:

info.event.extendedProps.location;  //returns the location                          
info.event.extendedProps.extendedProperties; //returns undefined
以下是Google events提供的所有属性列表:

具体来说,我希望访问“extendedProperties”(与位置级别相同)

我知道解决方案必须简单,FullCal是全面的,但我不明白这一点

以下是我返回的php API格式的google事件对象:

2nd Test params (2020-08-08T09:00:00-05:00)
Google_Service_Calendar_Event Object
(
[collection_key:protected] => recurrence
[anyoneCanAddSelf] => 
[attachmentsType:protected] => Google_Service_Calendar_EventAttachment
[attachmentsDataType:protected] => array
[attendeesType:protected] => Google_Service_Calendar_EventAttendee
[attendeesDataType:protected] => array
[attendeesOmitted] => 
[colorId] => 
[conferenceDataType:protected] => Google_Service_Calendar_ConferenceData
[conferenceDataDataType:protected] => 
[created] => 2020-07-29T15:19:20.000Z
[creatorType:protected] => Google_Service_Calendar_EventCreator
[creatorDataType:protected] => 
[description] => somestuff   /*================DESCRIPTION==========================*/
[endType:protected] => Google_Service_Calendar_EventDateTime
[endDataType:protected] => 
[endTimeUnspecified] => 
[etag] => /* ETag of the resource */
[extendedPropertiesType:protected] => Google_Service_Calendar_EventExtendedProperties
[extendedPropertiesDataType:protected] => 
[gadgetType:protected] => Google_Service_Calendar_EventGadget
[gadgetDataType:protected] => 
[guestsCanInviteOthers] => 
[guestsCanModify] => 
[guestsCanSeeOtherGuests] => 
[hangoutLink] => 
[htmlLink] => https://www.google.com/calendar/event?eid= /* your event id */
[iCalUID] =>  /* see google event doc  link */
[id] => /* your cal id  */
[kind] => calendar#event
[location] => somewhere /*================LOCATION==========================*/
[locked] => 
[organizerType:protected] => Google_Service_Calendar_EventOrganizer
[organizerDataType:protected] => 
[originalStartTimeType:protected] => Google_Service_Calendar_EventDateTime
[originalStartTimeDataType:protected] => 
[privateCopy] => 
[recurrence] => 
[recurringEventId] => 
[remindersType:protected] => Google_Service_Calendar_EventReminders
[remindersDataType:protected] => 
[sequence] => 1
[sourceType:protected] => Google_Service_Calendar_EventSource
[sourceDataType:protected] => 
[startType:protected] => Google_Service_Calendar_EventDateTime
[startDataType:protected] => 
[status] => confirmed
[summary] => 2nd Test params
[transparency] => 
[updated] => 2020-08-05T04:07:41.552Z
[visibility] => 
[internal_gapi_mappings:protected] => Array
    (
    )

[modelData:protected] => Array
    (
    )

[processed:protected] => Array
    (
    )

[creator] => Google_Service_Calendar_EventCreator Object
    (
        [displayName] => 
        [email] => someone@gmail.com
        [id] => 
        [self] => 
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )

[organizer] => Google_Service_Calendar_EventOrganizer Object
    (
        [displayName] => Coastal Kitchen & Bath
        [email] => /* yourcal info */ .calendar.google.com
        [id] => 
        [self] => 1
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )

[start] => Google_Service_Calendar_EventDateTime Object
    (
        [date] => 
        [dateTime] => 2020-08-08T09:00:00-05:00
        [timeZone] => America/Chicago
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )

[end] => Google_Service_Calendar_EventDateTime Object
    (
        [date] => 
        [dateTime] => 2020-08-08T09:00:00-05:00
        [timeZone] => America/Chicago
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )
                     /*================EXTENDED PROPERTIES==========================*/
[extendedProperties] => Google_Service_Calendar_EventExtendedProperties Object
    (
        [private] => Array
            (
                [patsAllowed] => yes
            )

        [shared] => 
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )

[reminders] => Google_Service_Calendar_EventReminders Object
    (
        [collection_key:protected] => overrides
        [overridesType:protected] => Google_Service_Calendar_EventReminder
        [overridesDataType:protected] => array
        [useDefault] => 1
        [internal_gapi_mappings:protected] => Array
            (
            )

        [modelData:protected] => Array
            (
            )

        [processed:protected] => Array
            (
            )

    )

)