1
Github日曆存儲庫:https://github.com/twinssbc/Ionic2-CalendarIonic2日曆,自定義樣式?
使用ionic2-calendar指令如何自定義日曆上的事件顏色?有沒有辦法做到這一點?另外如何使用我自己的事件列表模板,而不是本地的?
Github日曆存儲庫:https://github.com/twinssbc/Ionic2-CalendarIonic2日曆,自定義樣式?
使用ionic2-calendar指令如何自定義日曆上的事件顏色?有沒有辦法做到這一點?另外如何使用我自己的事件列表模板,而不是本地的?
好的,在文檔中有一個答案,例如日曆底部的事件詳細信息模板。
<template #template let-showEventDetail="showEventDetail" let-selectedDate="selectedDate" let-noEventsLabel="noEventsLabel">
...
</template>
<calendar ... [monthviewEventDetailTemplate]="template"></calendar>