I have this loadfile function that loads an image after uploading.. I want to convert to get its URL path... but im receiving an error "URL.createObjectURL is not a function" but when i console the e.target.files[0], I can view the file in console.. can any one help me?
loadFile: function(e){
var output = document.getElementById('output');
output.src = URL.createObjectURL(e.target.files[0]);
}