Closed Purus closed 8 years ago
As it is now, I don't think you can. You would probably need to run a function passed trough the scope (Or broadcast an event... not sure which one would be the best approach) and execute it when the last image of the array was loaded on the 3rd slice (Because we would need to render the next image when the last image becomes visible) From the top of my head, this would be the first thing to try. I'll have a think about this
Thanks for response.
I really liked this plugin but due to lack of this functionality I could not use this.
Is there any possibility to add as part of plugin? On 09-Mar-2016 5:39 am, "Pedro Abreu" notifications@github.com wrote:
As it is now, I don't think you can. You would probably need to run a function passed trough the scope (Or broadcast an event... not sure which one would be the best approach) and execute it when the last image of the array was loaded on the 3rd slice (Because we would need to render the next image when the last image becomes visible) From the top of my head, this would be the first thing to try. I'll have a think about this
— Reply to this email directly or view it on GitHub https://github.com/pedroabreu/ion-gallery/issues/45#issuecomment-194032142 .
You can always try to implement it and then open a PR for merge ;)
On Wed, Mar 9, 2016 at 3:31 AM Purusothaman Ramanujam < notifications@github.com> wrote:
Thanks for response.
I really liked this plugin but due to lack of this functionality I could not use this.
Is there any possibility to add as part of plugin? On 09-Mar-2016 5:39 am, "Pedro Abreu" notifications@github.com wrote:
As it is now, I don't think you can. You would probably need to run a function passed trough the scope (Or broadcast an event... not sure which one would be the best approach) and execute it when the last image of the array was loaded on the 3rd slice (Because we would need to render the next image when the last image becomes visible) From the top of my head, this would be the first thing to try. I'll have a think about this
— Reply to this email directly or view it on GitHub < https://github.com/pedroabreu/ion-gallery/issues/45#issuecomment-194032142
.
— Reply to this email directly or view it on GitHub https://github.com/pedroabreu/ion-gallery/issues/45#issuecomment-194097780 .
In my application,by default I show 10 images and when I go to the last image, I would like to load additional images from remote server and append to gallery.
How do I know if I have reached the last image of the gallery? Are there any methods available?
Currently I am using Slide-Box of Ionic and it works fine. but I want to replace it with your library.