image-focus
image-focus copied to clipboard
Support custom ancestor container
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.