3.0.0
Released defer.js v3.0.0
All examples and demo have been re-created.
New Defer.lazy
variable and waitForInteraction
argument were added since v3.0.
Setting Defer.lazy=true
or waitForInteraction=true
tells the library to delay the execution of deferred scripts until the user starts interacting with the page regardless of the page load event.
Changing the Defer.lazy
variable will also affect the default behavior of these functions:
Defer()
Defer.all()
Defer.css()
Defer.js()