image-focus icon indicating copy to clipboard operation
image-focus copied to clipboard

Support custom ancestor container

Open frsinn opened this issue 2 years ago • 0 comments

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.

frsinn avatar Sep 12 '23 13:09 frsinn