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

Feature Request: preload Method #16

Closed
Bastl34 opened this issue Jan 30, 2017 · 2 comments
Closed

Feature Request: preload Method #16

Bastl34 opened this issue Jan 30, 2017 · 2 comments

Comments

@Bastl34
Copy link

Bastl34 commented Jan 30, 2017

It would be great to have a preload(url) on the imageLoader Service to allow to cache an image before a view with <img-loader src="MYURL"></img-loader> was rendered. This would be good to preload images if you are offline.

@ihadeed
Copy link
Member

ihadeed commented Jan 30, 2017

Great idea, will add it when I get a chance.

@ihadeed
Copy link
Member

ihadeed commented Feb 7, 2017

You can use ImageLoader.getImage(..) to do this, but I just added a preload method so it's more clear. Will be available soon in v1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants