@@ -94,7 +94,7 @@ app.controller('MyCtrl', ['$scope', 'Upload', function ($scope, Upload) {
94
94
*ngf-select =" true" or " false" // default true, enables file select directive on this element
95
95
ng-model =" myFiles" // binds the selected files to the scope model
96
96
ng-model-rejected =" rejFiles" // bind to dropped files that do not match the accept wildcard
97
- ng-disable =" selectDisabled" // bind to a boolean value that triggers deactivation of the file select
97
+ ng-disabled =" selectDisabled" // bind to a boolean value that triggers deactivation of the file select
98
98
ngf-change =" fileSelected($files, $event)" // called when files are selected or removed
99
99
ngf-multiple =" true" or " false" // default false, allows selecting multiple files
100
100
ngf-capture =" 'camera'" or " 'other'" // allows mobile devices to capture using camera
@@ -115,7 +115,7 @@ All attributes are optional except ngf-drop and one of ng-model or ngf-change.
115
115
*ngf-drop =" true" or " false" // default true, enables file drop directive on this element
116
116
ng-model =" myFiles" // binds the dropped files to the scope model
117
117
ng-model-rejected =" rejFiles" // bind to dropped files that do not match the accept wildcard
118
- ng-disable =" dropDisabled" // bind to a boolean value that triggers deactivation of the file drop
118
+ ng-disabled =" dropDisabled" // bind to a boolean value that triggers deactivation of the file drop
119
119
ngf-change =" fileDropped($files, $event, $rejectedFiles)" //called when files being dropped
120
120
ngf-multiple =" true" or " false" // default false, allows selecting multiple files.
121
121
ngf-accept =" '.pdf,.jpg'" or " validate($file)" // function or comma separated wildcard to filter files allowed
0 commit comments