jQuery Can Provide Queue-Based Promise Objects(www.bennadel.com)

submitted by rcashrcash(4149) 6 months, 25 days ago

It seems that jQuery provides implicit promise functionality around their queues and dequeuing functionality. This allows for promise objects to be returned for animations, which are, after all, nothing more than encapsulated "fx" queues.

1 comment |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 6 months, 25 days ago 0

This does clean up callback code quite a bit, useful when you need to handle lots of DOM objects popping in and out. I have written tons of code to handle objects being loaded from AJAX requests, this could clean that up quite a bit.

Reply

information Login or create an account to comment on this story