Blazor:使用 ICalendar 文件在设备中启动默认日历应用程序
我正在开发一个 Web 应用程序来使用 Blazor 服务器端框架管理事件。要求之一是有一个按钮,允许用户将事件添加到所选日历中,主要是谷歌日历、Outlook 日历以及他们正在使用的设备的本地日历。 我使用带有适当链接和参数的标签来管理谷歌和 Outlook 日历,现在我最不想做的就是有一个按钮,单击该按钮会打开默认日历应用程序并显示事件信息。我设法将事件模型转换为适当的 calendar 标准格式文件,但无法弄清楚如何打开日历应用程序并向其发送事件文件。
I am developing a web app to manage events using the Blazor server-side framework. One of the requirements is a button that allows the users to add events to a calendar of choice, mainly google calendar, outlook calendar, and the local calendar of the device they are using.
I managed the google and outlook calendars using tag with the appropriate links and parameters, now the last thing I want is to have a button that when clicked opens the default calendar app and displays the event info. I managed to convert the event model into an appropriate icalendar standard format file, but couldn't figure out how to open the calendar app and send it the event file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论