Closed gajus closed 8 years ago
The use case:
DOMContentLoaded
event, I want to use offset 0
.hey @gajus
That's already possible. If you save blazy as a variable you can change the options on the variable whenever you want:
var bLazy = new Blazy();
...
bLazy.options.offset = 100;
@dinbror Thank you for pointing this out. I figured it eventually by looking at the source code, though I was expecting to see a setter. Controlling options in this manner can lead to all sorts of unexpected mutations.
@gajus: yes it also isn't build for that. No setters to keep filesize small
Specifically, I'd like to be able to control the
offset
option after constructingBlazy
instance.