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

Support custom ancestor container #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

frsinn
Copy link

@frsinn frsinn commented Sep 12, 2023

Hi @third774,

in reference to #17, I propose a small change to the library so that users can pass in a custom ancestor container as option to the FocusedImage class.

I extend the FocusedImageOption interface by an optional container parameter and fall back to the current behaviour as this should not break any user code. Please feel free to review and discuss this PR.

Thank you for maintaining this library.

This is a more customizable than the one suggested in third774#17. It should also be a
non-breaking change as `container` is optional. If a user did not pass
`container` as option, we fall back to the current behaviour.
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.

None yet

1 participant