Closed BigWestGang closed 5 years ago
I read the document. However, when you read the actual source code comment, only InitialLoad exists as a parameter.
in https://favoriteposts.com/
/**
favorites-user-favorites-loaded
Fires after the user's favorites have loaded
@param favorites - Array of post objects the user has favorited
@param intial_load - Boolean */ $(document).on('favorites-user-favorites-loaded', function(event, favorites, intial_load){ // Do stuff here as needed });
in assets/js/favorites.js
favorites-user-favorites-loaded: The user's favorites have been loaded. Params: intialLoad (bool)
Document information is old? Or is it the wrong modification of this version?
I read the document. However, when you read the actual source code comment, only InitialLoad exists as a parameter.
in https://favoriteposts.com/
favorites-user-favorites-loaded
Fires after the user's favorites have loaded
@param favorites - Array of post objects the user has favorited
@param intial_load - Boolean */ $(document).on('favorites-user-favorites-loaded', function(event, favorites, intial_load){ // Do stuff here as needed });
in assets/js/favorites.js
favorites-user-favorites-loaded: The user's favorites have been loaded. Params: intialLoad (bool)
Document information is old? Or is it the wrong modification of this version?