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>