Skip to content

zjincHub/upload-timeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upload_timeline

USAGE

npm install upload-timeline
import { UploadTimeline } from "upload-timeline";
let doc = document.getElementById("uploadTimeline");
let uploadTimeline = new UploadTimeline(doc, [
    {
        groupName: "组名称1",
        uploadHistory: [
            { uploadTime: new Date("2022/09/01 22:00"), filePath: "文件路径" },
            { uploadTime: new Date("2023/04/01 12:00"), filePath: "文件路径" },
        ],
    },
    {
        groupName: "组名称2",
        uploadHistory: [
            { uploadTime: new Date("2021/05/01 22:00"), filePath: "文件路径" },
            { uploadTime: new Date("2023/02/01 12:00"), filePath: "文件路径" },
        ],
    },
])

show

组件样式

About

文件上传时间线组件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published