bergben / ng2-image-gallery Goto Github PK
View Code? Open in Web Editor NEWBasic Angular 2 image gallery
License: MIT License
Basic Angular 2 image gallery
License: MIT License
please add angular 6 support
When you plan create next release supported NG4?
using ng-2-image-gallery in my html file as <ng2-image-gallery [images]="myImages"></ng2-image-gallery>
It shows error in console that
Can't bind to 'images' since it isn't a known property of 'ng2-image-gallery'.
am using angular 4. ng2-image-gallery version is 0.3.18
Hello,
I used your package and everything was perfect until I had to move the project to other dev machine...
I got pretty nasty error no matter what I try it persist:
ERROR in long_path.../node_modules/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts (2,10): Module '"long_path.../node_modules/@angular/material/material"' has no exported member 'TemplatePortal'.
long_path.../node_modules/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts (2,26): Module '"long_path.../@angular/material/material"' has no exported member 'Overlay'.
ERROR in PortalModule is not an NgModule
Please help, I am pretty despaired already :)
I don't remember how I made it work the first time (I remember there was some problems but maybe not exactly like this..)
So I stuck with working dev version only if I reproduce node and npm versions and using ziped directory... not solution at all..
ERROR in ../node_modules/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts (3,55): Generic type 'TemplatePortal' requires 1 type argument(s).
I had some errors after including the Ng2ImageGalleryModule dependency. It turned out it has a dependency on angular/material, which I hadn't install.
After installing the angular/material the import succeeded.
Also, including the scss file triggers some errors about fontawesome. Instead I included the css in the styles section of .angular-cli.json, which after it worked.
/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts
constructor(_overlay: Overlay);
--
Hi there, I am trying to use this awesome component in one of my projects but not able to find how to add authorization header, as our api access needs auth tokens. Some clues will be immensely appreciated.
I have been able to implement your gallery modal component and I really do like the design but I have a problem with the close button, somehow all other buttons, next, previous and thumbnail buttons work but the close button does not work. I need help
am using npm as package manager in my angular project. Want to use ng-2 image gallery in my project. I added ng2-image-gallery
version 0.3.17 and @angular/material
version 2.0.0-beta.7 as dependencies in package.json
. Installed these dependencies by running npm install
. When i try to start my project by running npm start
then it gives error
ERROR in node_modules/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts (3,55): Generic type 'TemplatePortal' requires 1 type argument(s).
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.