Constrain what files you can see with angularjs ng-flow -


i'm trying implement flow file uploader can't see how make user can select image files. copied example have

<div     data-flow-files-submitted="$flow.upload()"     flow-file-added="!!{png:1,gif:1,jpg:1,jpeg:1}[$file.getextension()]"     name="introduction-picture-upload"> 

but still see files available in upload window, not images. appreciated - thanks!

seems it's

<button     flow-btn     flow-attrs="{accept:'image/*'}"> 

not documented !


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -