angular-scrollspy icon indicating copy to clipboard operation
angular-scrollspy copied to clipboard

Target specific element instead on window

Open RitzBrio opened this issue 6 years ago • 1 comments

Hi!

Is there a way to target a container div instead of the window?

Thanks!

RitzBrio avatar Sep 29 '18 16:09 RitzBrio

Hi @RitzBrio at the moment it doesn't, however the angular-inviewport directive that this library uses to detect the inviewport status does.

So it maybe possible with an update to simply pass a reference to a parent element to the inviewport directive.

edoparearyee avatar Oct 02 '18 09:10 edoparearyee