Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Item Notification #280

Open
mhamidg opened this issue Aug 9, 2021 · 0 comments
Open

Delete Item Notification #280

mhamidg opened this issue Aug 9, 2021 · 0 comments

Comments

@mhamidg
Copy link

mhamidg commented Aug 9, 2021

This is awesome library to show images.

I am missing the one of the extra functionality, which is more helpful for the developers. If you add the delete Notification (delegate). To delete item notification if you can implement this in function just before deleting the item from "initialImages" collection.

Method:
func headerView(_ headerView: HeaderView, didPressDeleteButton deleteButton: UIButton) {

Notification/Delegate:
pageDelegate?.lightboxController(self, willDeleteItem: initialImages[prevIndex], at: prevIndex)

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

No branches or pull requests

1 participant