uniprank / ng2-file-uploader Goto Github PK
View Code? Open in Web Editor NEWAn angular2 uploader component and directive library for upload and preview uploading files.
License: MIT License
An angular2 uploader component and directive library for upload and preview uploading files.
License: MIT License
Author, Hello, this component is under my project Safari browser, this section of code'this.lastModifiedDate = new Date (object.lastModifiedDate.getTime ()); 'the error can not find the property'lastModifiedDate', change to'lastModified', it is no problem, it is suggested to change this paragraph to'this.lastModifiedDate = new Date (obj). Ect.lastModified); 'no problem at all, browsers are supported.
report errors msg:
Failed to load D:\project\LUNZ-UI\node_modules@uniprank\ng2-file-uploader\tslint.json: Could not find custom rule directory: D:\project\LUNZ-UI\node_modules@uniprank\ng2-file-uploader\node_modules\codelyzer
Hello,
Currently I have a text box to go along with the uploader. When a user types in that textbox it should take that value and append it to the headers or formData options. Anyway guidance on to implement that?
Cheers!
When run the code, getting below error, Could you please help me on this.
node_modules/@uniprank/ng2-file-uploader/module/source/fileManager.core.ts(251,1
3): error TS7005: Variable '_uploader' implicitly has an 'any' type.
node_modules/@uniprank/ng2-file-uploader/module/source/protocol.core.ts(129,13):
error TS7005: Variable '_request' implicitly has an 'any' type.
node_modules/@uniprank/ng2-file-uploader/module/source/protocol.core.ts(173,13):
error TS7005: Variable 'sendable' implicitly has an 'any' type.
node_modules/@uniprank/ng2-file-uploader/module/source/transfer.core.ts(440,31):
error TS7005: Variable 'key' implicitly has an 'any' type.
node_modules/@uniprank/ng2-file-uploader/module/source/transfer.core.ts(440,36):
error TS7005: Variable 'val' implicitly has an 'any' type.
node_modules/@uniprank/ng2-file-uploader/module/source/transfer.core.ts(440,41):
error TS7005: Variable 'i' implicitly has an 'any' type.
Where is the source of this demo?
https://uniprank.github.io/ng2-file-uploader
While trying to do AOT for my app the cli was throwing the below error
ERROR in Unexpected value 'undefined' exported by the module 'FileUploaderModule in /node_modules/@uniprank/ngx-file-uploader/typings/index.d.ts'
The command that I used to run AOT node_modules/.bin/ngc -p tsconfig-aot.json
File content for tsconfig-aot.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2015", "dom"
],
"module": "es2015"
},
"files": [
"src/app/app.module.ts",
"src/main.ts"
],
"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit" : true
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.