zr-file-upload-oss
v1.0.0
Published
This is a component uploaded to Ali cloud OSS.
Downloads
11
Maintainers
Readme
About
This is a component uploaded to Ali cloud OSS.
Installation
Install through npm:
npm install --save zr-file-upload-oss
Then include in your apps module:
import { NgModule } from '@angular/core';
import { ZrFileUploadOssModule } from 'zr-file-upload-oss';
@NgModule({
imports: [
ZrFileUploadOssModule
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: '<zr-file-upload-oss [region]="region" [accessKeyId]="accessKeyId" [accesskey]="accesskey" [bucket]="bucket"></zr-file-upload-oss>'
})
export class MyComponent {
region: string = '';
accessKeyId: string = '';
accesskey: string = '';
bucket: string = '';
}