【文件属性】:
文件名称:日历事件
文件大小:6KB
文件格式:ZIP
更新时间:2021-02-08 05:03:14
JavaScript
事件日历
这个应用程序提供了设置某个日期的提醒,设置提醒以设置某个事件的周期性提醒的机会,您也可以编辑事件。
首先,您需要在计算机上克隆一个项目,使用它来下载应用程序,或者您可以使用此git clone
将其解压缩后,在浏览器中打开index.html,显示浏览器控制台,您可以尝试:
。
创建事件
变更事件列表
显示事件列表
实用程序
需要create-event模块,以便用户可以为特定日期和时间创建事件:
-用于创建事件:window.modules.setNewEvent(eventName,eventTime,回调)示例:window.modules.setNewEvent(“ shop”,new Date(2021,1,7),()=> {console.log(“ shop事件”)});
-用于创建每天重复发生的事件:window.modules.setEveryDa
【文件预览】:
calendar-events-task1
----.eslintrc.json(473B)
----.gitignore(31B)
----package.json(741B)
----js()
--------show-event-list.js(2KB)
--------utils.js(3KB)
--------create-event.js(3KB)
--------change-event-list.js(1KB)
----README.md(3KB)
----index.html(413B)