Giter Site home page Giter Site logo

Adding event hooks about jquery.instagramfeed HOT 11 OPEN

jsanahuja avatar jsanahuja commented on September 15, 2024 3
Adding event hooks

from jquery.instagramfeed.

Comments (11)

jsanahuja avatar jsanahuja commented on September 15, 2024 1

There is no way yet, I might implement it in a future release

from jquery.instagramfeed.

jsanahuja avatar jsanahuja commented on September 15, 2024 1

Check the example 7 of the docs. Note that callback can be used to render the feed yourself or, if container is defined, as an onready event

from jquery.instagramfeed.

rafael-marques avatar rafael-marques commented on September 15, 2024 1

Hi, I updated and it worked. Thanks,

from jquery.instagramfeed.

terryapodaca avatar terryapodaca commented on September 15, 2024

This would be a very good enhancement, as I would like to implement a slider/carousel plugin but I can't get the plugin to fire "after" yours...so this would be great!

from jquery.instagramfeed.

jsanahuja avatar jsanahuja commented on September 15, 2024

A pull request implementing this will be welcome. Would be good to have the following events:

  • on ready: after displaying the html
  • on load: after the onload event of every image
  • on error: if the request fails or happens whats described in #51 #50 #49 #42 #25

from jquery.instagramfeed.

andy00087 avatar andy00087 commented on September 15, 2024

Hi, any update on this?

from jquery.instagramfeed.

jsanahuja avatar jsanahuja commented on September 15, 2024

The on ready is now the callback. The on error will be implemented soon. The on load can't be implemented (decently) until the template generation is made using the HTML API

from jquery.instagramfeed.

andy00087 avatar andy00087 commented on September 15, 2024

Thanks!
I will try to use callback to "fire" the Instagram feed inside a slider.

from jquery.instagramfeed.

rafael-marques avatar rafael-marques commented on September 15, 2024

Hi, i tried using callback but it didn`t work. Can you provide an example of it? @jsanahuja

from jquery.instagramfeed.

rafael-marques avatar rafael-marques commented on September 15, 2024

Hi, thanks for the reply.

I did that but it didnt work. I have a containerand I'am using thecallbackasonready`.

Does it depends on the version od the pulgin I'm using?

from jquery.instagramfeed.

jsanahuja avatar jsanahuja commented on September 15, 2024

Yes, before 1.3.1 the callback is not triggered unless get_data is true and container is not defined.

If you can't get it working with this version please show your code

from jquery.instagramfeed.

Related Issues (20)

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.