Skip to content

Commit 86af371

Browse files
Danial FaridDanial Farid
Danial Farid
authored and
Danial Farid
committed
2 parents e9d8119 + 923a45b commit 86af371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ app.controller('MyCtrl', ['$scope', 'Upload', function ($scope, Upload) {
9494
*ngf-select="true" or "false" // default true, enables file select directive on this element
9595
ng-model="myFiles" // binds the selected files to the scope model
9696
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
9898
ngf-change="fileSelected($files, $event)" // called when files are selected or removed
9999
ngf-multiple="true" or "false" // default false, allows selecting multiple files
100100
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.
115115
*ngf-drop="true" or "false" // default true, enables file drop directive on this element
116116
ng-model="myFiles" // binds the dropped files to the scope model
117117
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
119119
ngf-change="fileDropped($files, $event, $rejectedFiles)" //called when files being dropped
120120
ngf-multiple="true" or "false" // default false, allows selecting multiple files.
121121
ngf-accept="'.pdf,.jpg'" or "validate($file)" // function or comma separated wildcard to filter files allowed

0 commit comments

Comments
 (0)