ksachdeva / angular2-swing-example Goto Github PK
View Code? Open in Web Editor NEWExample showing how to use angular2-swing module
License: MIT License
Example showing how to use angular2-swing module
License: MIT License
I clone the project, and did:
npm install
npm start
And the project don't work, only show a yellow screen and these errors on console:
GET http://localhost:3000/node_modules/core-js/client/shim.min.js 404 (Not Found)
zone.js:101 GET http://localhost:3000/node_modules/performance-now/lib/performance-now.js 404 (Not Found)
Error: Error: XHR error (404 Not Found) loading http://localhost:3000/node_modules/performance-now/lib/performance-now.js(โฆ)
I did something wrong?
Thanks!
HI I want to get information of selected item .what to do ?
hi @ksachdeva please help
I add allowedDirections but it does not work
this.stackConfig = {
allowedDirections: [ Direction.LEFT, Direction.RIGHT],
throwOutConfidence: (offsetX, offsetY, element) => {
// console.log('throwOutConfidence',offsetX, offsetY, element)
return Math.min(Math.abs(offsetX) / (element.offsetWidth / 5), 1);
},
transform: (element, x, y, r) => {
// console.log('transform')
this.onItemMove(element, x, y, r);
},
throwOutDistance: (d) => {
// console.log('throwOutDistance')
return 800;
}
};
Is there any reason because of which swipe down cannot work?
Property stackconfig does not exits on type 'page'
Hi,
When using this component I get some errors in the app.component.ts.
In line 51 - 59 there are some console.log calls, the first log results in an object. The second and third logs return undefined. This means the viewChild / viewChildren are not correctly returned. I cannot figure out why this is happening..
Can you please assist me with this problem?
Thanks,
Berry
Hello there !I am developing an ionic project and I've used angular2-swing library to build an app similar to tinder , I have all integrated and It's working fine , But the problem that I am facing is that the drag left and right are very slow and It's not very convenient.
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.