Item Types - ryanteo96/ionic-json-file-browser GitHub Wiki
Currently Ionic JSON File Tree supports a number of item types. These item types will have its own icon and also context menu.
Supported File Types
| File Type | Icon | Context Menu |
|---|---|---|
| folder | ✅ | ✅ |
| file | ✅ | ✅ |
| ✅ | ✅ | |
| word | ✅ | ✅ |
| excel | ✅ | ✅ |
| image | ✅ | ✅ |
| video | ✅ | ✅ |
| archive | ✅ | ✅ |
| code | ✅ | ✅ |
Ionic JSON File Tree would get the file types from the Entity JSON object.
Entity JSON
[
{
"id": "0",
"name": "Rutledge",
"type": "folder"
},
{
"id": "1",
"name": "Sybil",
"type": "file"
},
{
"id": "2",
"name": "Wong",
"type": "pdf"
},
{
"id": "3",
"name": "Banks",
"type": "archive"
},
{
"id": "4",
"name": "Clarke",
"type": "word"
},
]
There are plans to support more item types. If there are any suggestions, let me know by opening an issue!