admin管理员组文章数量:1395264
Using the <ion-datetime> component, when you use the forward/back arrows to traverse between months of a calendar, it does not trigger an ionChange() event. Instead it triggers an ionFocus() event and this event does not pass any information about what calendar/month the user is on now. If I select a date within the calendar then it will pass that along to the ionChange() handler within the $event.detail property.
Here is what I'm referring to:
I've tried everything under the sun but all to no avail. I just want to display a list of events for each month, beneath the calendar when the user traverses using the left/right arrows so I need to know what month/year they are on! Note that the date picker on the left does trigger an ionChange() event.
本文标签: How To Get Currently Shown Calendar MonthYear in Ionic 8 (angular) using iondatetimeStack Overflow
版权声明:本文标题:How To Get Currently Shown Calendar MonthYear in Ionic 8 (angular) using ion-datetime - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744720920a2621688.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论