dharness / angular2-scroll-glue Goto Github PK
View Code? Open in Web Editor NEWAngular2 @Component which automatically scrolls to the end of a div
Angular2 @Component which automatically scrolls to the end of a div
./node_modules/angular2-scroll-glue/node_modules/reflect-metadata/Reflect.js
Module not found: Error: Can't resolve 'crypto' in '/Users/sp223c/Desktop/doorbell-web/node_modules/angular2-scroll-glue/node_modules/reflect-metadata'
Thanks for the awesome module!
I got this error in an Ionic 2 project based on TypeScript.
import ScrollGlue from 'angular2-scroll-glue';
Error TS2307: Cannot find module 'angular2-scroll-glue'.
$ ionic info
Your system information:
Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.6-201604261740
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.3.2
Xcode version: Xcode 7.3.1 Build version 7D1014
I googled a bit and found this SO page describing how to write some .d.ts
file to make it work.
http://stackoverflow.com/questions/22842389/how-to-import-a-js-library-without-definition-file-in-typescript-file
I haven't tried that yet, instead, I'm putting the examples/app/ScrollGlue.ts
source file into my project to make it work.
It would be great to provide .d.ts
files (if that's the proper way to do it) and make TypeScript import work.
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.