Change size and/or offset after construction?
mxdubois opened this issue · comments
Michael DuBois commented
Hey @darsain, I browsed a bunch of your libraries and they all look awesome.
In espy, you allow client code to set the size
of the trigger area at construction (jQuery.Espy()
). Is there any good way to update that size
from $(window).resize()
?
In my case, I'd like to subtract the height of some "sticky" UI elements from the viewport to determine the trigger size
.
darsain commented
I'm afraid not. Look for alternatives, I'm quite sure there are better libraries for this than Espy :)
Espy needs a rewrite.