This would choose the 'readAs' option based on the content type of the file. This way a text file and image could be read using the same drop zone/input, without needing to add in a special callback to return the correct mode to read as.
The question is what should be default action be for all different types, and would there be a way to override the default
This would choose the 'readAs' option based on the content type of the file. This way a text file and image could be read using the same drop zone/input, without needing to add in a special callback to return the correct mode to read as.
The question is what should be default action be for all different types, and would there be a way to override the default