0.2.19 • Published 7 years ago

og-uploader v0.2.19

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

og-uploader

Simple File Upload for Angular2. Please star a project if you liked it, or create an issue if you have problems with it.

Installation

Install npm module:

`npm install og-uploader --save`

Usage

Import OutgrowFileUploadModule in your app and start using a component:

<og-uploader [acceptTypes]="['image/*']"
             [styling]="'btn-danger btn-lg'"
             [quality]="60"
             [buttonCaption]="'The button we all wanted!!'"
             (onFileUploadFinish)="imageUploaded($event)"   
></og-uploader>
  • [acceptTypes]="['image/*','text/*']" specifies accepted file mime types.
  • [styling]="'btn-danger'" pass css class for styling of the button you will get with this module.
  • [quality]="60 compression ratio percentage.
  • [buttonCaption]="submit image"set the button caption.
  • (onFileUploadFinish)="imageUploaded($event)" is fired when image upload is completed. "$event" object contains the response from the server.

0.2.19

7 years ago

0.2.18

7 years ago

0.2.17

7 years ago

0.2.16

7 years ago

0.2.15

7 years ago

0.2.13

7 years ago

0.2.11

7 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.1.23

7 years ago

0.1.22

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago