angular-base64-upload icon indicating copy to clipboard operation
angular-base64-upload copied to clipboard

Handler is not an function

Open haydar100 opened this issue 8 years ago • 1 comments

When using onloadstart or any other event it results in a handler is not a function error. It does trigger the function attached on the event.

screen shot 2017-10-19 at 11 54 02

Chrome, latest MacOS Sierra Angular 1.2.* Bootstrap 3.*

haydar100 avatar Oct 19 '17 09:10 haydar100

Do not use parentheses :)

Incorrect : <input type="file" ng-model="myFile" base-sixty-four-input onloadstart="uploadStart()" />

Correct : <input type="file" ng-model="myFile" base-sixty-four-input onloadstart="uploadStart" />

mehdis34 avatar May 16 '19 08:05 mehdis34