Skip to content

Conversation

@lucascampelo
Copy link
Contributor

This code create and call a custom event called "fbready" on document element. Very useful for custom javascript code on specific pages. Example:

document.addEventListener('fbready', function(event){
// Do Something
});
// or
jQuery(document).on('fbready',function(event){
// Do Something
});

This code create and call a custom event called "fbready" on document element. Very useful for custom javascript code on specific pages. Example:

document.addEventListener('fbready', function(event){
    // Do Something
});
// or
jQuery(document).on('fbready',function(event){
    // Do Something
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant