Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 545 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 545 Bytes

Angular-MediaUpload-Component

This is a media component , I use $cordovaCamera $ionicActionSheet to build it.

This is a single file image upload .

  • Action Sheet ( pops up a select menu).
    • From Camera
    • From Library
$ionicActionSheet.show({
      buttons: [
        { text: translateFilter('common.camera') },
        { text: translateFilter('common.library') }
      ],
      cancelText: translateFilter('common.cancel_button'),
      cancel: function (onCancel) {
        $log.log(onCancel);
      },
      ```