dropfile

angularjs dropfile module

Added by: Sam Deering

GitHub

Repository

xxxg0001/dropfile

Stats

Stars: 0

Watchers: 0

Forks: 0

Author

Zero
Zero

Module Description

dropfile

angularjs dropfile module [Usage]


index.html

<any drop="handleDrop" ></any>

ctrl.js

var app = angular.module('myApp', ['dropfile']);
app.controller('DropCtrl', function($scope) {
    $scope.handleDrop = function(files) {
        file = files[0]
            $scope.Name = file.name
            //to do
            //.....
    }
});

Module stats last updated: 2015-04-15 19:37:12

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!