This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Element::update
It is a custom event, triggered when chain is updating.
Syntax
$(element).update()
Routines
This method will execute different routines depending on the arguments passed.
update()
If no argument is passed, it will update the element and trigger the update event.
$('#element').update();
update(function)
If you pass a function to update, it will bind it to the update event. just like jQuery’s click() or mouseover().
$('#el').update(function(event, data){
// Do something
// If item is defined, data will be item data.
// "this" is the current element. make sure you use "$(this)" inside update
});
// Same as:
$('#el').bind('update', function(){...});






