파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부 (isDeleted) 를 Object 형태로 반환합니다.
Name | Type | Description |
---|---|---|
fileType | string | 정보를 가져올 파일 타입입니다. ("image", "video", "file") |
Return:
Type | Attribute | Description |
---|---|---|
Array | [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, .... ] | path 경로와, isDeleted 삭제여부 데이터 |
Example:
var filesData = editor.getUploadedFiles(); |
getUploadedFiles()
파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부 (isDeleted) 를 Object 형태로 반환합니다.
Name | Type | Description |
---|---|---|
fileType | String | 파일 타입 정보를 넣지 않을 경우 |
Return:
Type | Attribute | Description |
---|---|---|
Object | { image: [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, .... ], video: [], file: [] } | path 경로와, isDeleted 삭제여부 데이터 |
Example:
var filesData = editor.getUploadedFiles(); |