getCheckDimenstions(EV: EVENT) { if (ev && ev.target && ev.target.files) { CONST file = ev.target.files[0]; const IMG = new Image(); img.onload = function() { alert('Width:' + this.width + ' HEIGHT: ' + this.height); }; img.src = URL.createObjectURL(file); }}
Your experience on this site will be improved by allowing cookies. Read Cookie Policy