Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for error handling #154

Closed
magoss opened this issue Jul 31, 2018 · 0 comments
Closed

Support for error handling #154

magoss opened this issue Jul 31, 2018 · 0 comments
Labels
Milestone

Comments

@magoss
Copy link

magoss commented Jul 31, 2018

I'm not able to find the answer neither in documentation nor on github. Does exist any support for error scenario in ngx-gallery library? I'd like to handle situation when server responds with an error while requesting unexisting image. In pure Angular I could do following:

<img src="assets/sample.jpeg" (error)="setValue()">

Is there any event made available on gallery component?

What is the expected behavior?

Possibility to hook event onError or similar.

What is the current behavior?

Cannot see any information regarding error handling in docs.

Which versions are you using for the following packages?

Angular: 6.03
Angular CDK: 6.4.1
Angular CLI: 6
Typescript: 2.9.2
Gallery: 3.0.2

@MurhafSousli MurhafSousli added this to the 3.1.0 milestone Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants