Closed ctf0 closed 9 years ago
You can add the class wookmark-inactive
to the item and refresh, that should work fine.
well ,that certainly did nothing ,what am after is i want the item to fade (done) and wookmark refresh its grid layout without me pressing the refresh button ,i have update the post after ur suggestion.
b4
after
Sorry for the late answer.
Your screenshots look like you add the wookmark-inactive
class but the refresh is not called.
Would have to see more of your initialization code to help.
i have updated the main post with the complete code ,plz check again.
Sorry took me a bit to get back :)
You should store the handler after you initalize the tiles for the first time and then call the refresh on it.
For wookmark to ignore the tiles when layouting they need the class wookmark-inactive
.
i have a btn that makes the user to fav or un-fav an img ,but when he un-favs it the img fades-out.
now how to make Wookmark refresh the layout and recalculate the visible items ?, because currently the item gets removed but its place still occupied.