ngx-file-selector
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

安装依赖

  npm i ngx-file-selector

使用方法

  @NgModule({
    declarations: [
      AppComponent
    ],
    imports: [
      BrowserModule,
      ReactiveFormsModule,
      NgxFileSelectorModule
    ],
    providers: [],
    bootstrap: [AppComponent]
  })
  export class AppModule { }
  <ngx-file-selector>
    <a>选择文件</a>
  </ngx-file-selector>

接口说明

NgxFileSelectorComponent

[@input]accpet: string 选择文件接受类型

[@Input]multiple: boolean 是否多选,默认单选

[@Output]select: EventEmitter 选择文件通知

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-file-selector

Weekly Downloads

2

Version

0.0.8

License

none

Unpacked Size

98.7 kB

Total Files

23

Last publish

Collaborators

  • change_job