ImagePicker:Ionic2+AngularJS2 图片选择component和多图上传

时间:2024-06-06 14:07:30
【文件属性】:

文件名称:ImagePicker:Ionic2+AngularJS2 图片选择component和多图上传

文件大小:1.23MB

文件格式:ZIP

更新时间:2024-06-06 14:07:30

TypeScript

ImagePicker Ionic2+AngularJS2 图片选择component和多图上传 功能如下: 1.选择照相机或者相册里的图片并且展示 2.多张图片异步上传至服务器 依赖插件: $ ionic plugin add $ ionic plugin add cordova-plugin-camera 利用RxJS上传多张图片 /*** * 上传多张图片 * @param params: 服务器上传图片api所需参数 * @param filePaths: 通过拍照或者相册拿到的本地图片url数组 * @returns {Observable}: 服务器返回的图片url */ uploadImages(params: any, filePaths: Array):Observable { var options:


【文件预览】:
ImagePicker-master
----ImagePicker()
--------package.json(1KB)
--------tslint.json(178B)
--------screenshots()
--------ionic.config.json(80B)
--------resources()
--------config.xml(2KB)
--------src()
--------tsconfig.json(465B)
--------.gitignore(425B)
--------.editorconfig(363B)
----LICENSE(1KB)
----README.md(2KB)

网友评论