ddc-image-upload
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

Image Upload Module

Build Status

This angular library provides a light-weight component that handles file-drop, image previewing and image uploading.

Demo & Readme

Install

npm install angular2-image-upload --save

Usage

In your app.module.ts import it using @NgModule decorator.

import { ImageUploadModule } from "angular2-image-upload";

@NgModule({
    imports: [
        ...,
        ImageUploadModule.forRoot(),
        ...
    ]
})

Now you have image-upload declaration and you can use it in your html code.

<image-upload></image-upload>

You can use bindings to configure this element for your needs.

See the demo for more detailed instructions.

Package Sidebar

Install

npm i ddc-image-upload

Weekly Downloads

4

Version

1.0.14

License

MIT

Unpacked Size

85.4 kB

Total Files

33

Last publish

Collaborators

  • sugamirza