Giter Club home page Giter Club logo

ng2-image-gallery's Introduction

Hi there ๐Ÿ‘‹

GitHub stats

Top Langs

ng2-image-gallery's People

Contributors

bergben avatar heiyukidev avatar otachkin avatar twinfreaks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ng2-image-gallery's Issues

@angular/material/material"' has no exported member 'TemplatePortal'.

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..

v0.3.17 thrown generic type issue

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).

Why dependency on @angular/material?

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.

Cannot find name 'Overlay'.

/ng2-image-gallery/dist/src/ng2-image-gallery-displacer.component.d.ts

constructor(_overlay: Overlay);
--




Adding Authorization

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.

Image modal close button not working

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

No way to close pop-up

After much haranguing, I was able to get ng2-image-gallery working, however I've noticed that there's no close button on the image pop-up, and escape doesn't do anything. How does one close the pop-up (please see attached)?

pop-up

Generic type 'TemplatePortal<C>' requires 1 type argument(s).

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.