cost 157 ms
類型錯誤:無法讀取 null 的屬性“getFullYear”(角度)

[英]TypeError: Cannot read property 'getFullYear' of null (ANGULAR)

我正在嘗試使用 ionic2-calendar 創建一個調度程序,但是當我想保存事件時,我一直在控制台中收到此錯誤。 會不會是安裝ionic2-calendar npm package 出錯? 這是我的代碼“scheduler.page.ts”。 function 工作的代碼中有什么我可能遺漏的 ...

如何僅顯示當月的天數 - ionic2-calendar

[英]How to show only the days in current month - ionic2-calendar

我正在使用 ionic 開發日歷應用程序,我只想在視圖中顯示當月的當前日期。 我正在使用 ionic2-calendar,現在它在一個日歷視圖中顯示上個月的最后幾天、當前月份的日期和下個月的第一天。 請幫我解決一下這個。 ...

Ionic2-calendar 不覆蓋事件 ng-template

[英]Ionic2-calendar don't override event ng-template

我正在為事件列表使用模板。 我使用 ng-template 並將測試文本放入基本事件名稱。 當我運行該應用程序時,它不會改變任何東西。 我認為它使用默認模板而不是我的。 瀏覽器中模板的結果 ...

在 Ionic2_Calendar 中加載事件

[英]Loading Events in Ionic2_Calendar

我實現了 ionic2-Calender 的一個版本。 它工作得很好。 當我的eventSource中沒有事件並創建一個事件時,該事件將正確顯示。 當我嘗試從存儲中加載事件時,問題就來了。 我總是收到這個錯誤: TypeError: eventStartTime.getFullYear is no ...

為什么 Ionic-2 日歷在傳遞給 js Date() 和調用 onViewTitleChanged 后會給出“無效日期”?

[英]Why does Ionic-2 Calendar gives “Invalid Date” after passing to js Date() and when calling onViewTitleChanged?

我試圖弄清楚為什么在將“無效日期”傳遞給var sDate = new Date(title)后我不斷收到“無效日期”。 我的目標是只獲取當前月份,所以我可以在 sqlite 上查詢它。 在 ionic-cordova 上使用 ionic 4、ionic2-calendar 和 angular。 ...

Ionic-2-Calendar 月視圖事件詳細信息模板 - 我如何訪問有關非時間事件的任何信息?

[英]Ionic-2-Calendar Month View Event Detail Template - How do i access anything about the event that is not time?

我使用 ionic2-calendar 在我的應用程序中創建日歷。 默認事件查看器只有時間和標題,但我還想添加描述和其他字段。 由於我無法更改默認設置,我四處尋找一些方法來制作自己的。 原來 ionic 有一些叫做templates 的東西。 我正在使用月視圖,所以我感興趣的模板是這個。 我的問 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM