Releases: github/include-fragment-element
Releases · github/include-fragment-element
v5.3.0
This adds a new attribute: loading
. The loading
attribute is eager
by default but can be set to lazy
which will defer loading of the fragment until it is visible in the viewport. This is similar to <img loading=lazy>
.
v5.2.0
- This adds two custom events,
include-fragment-replace
and include-fragment-replaced
. See details at #59.
v5.1.3
- Convert to TypeScript/remove Flow type support.
- Package is now type module. UMD build is removed.
v5.1.0
Add support for an optional <include-fragment accept="">
attribute for specifying the Accept header for fetch requests. #51.
5.0.7
- Fix Flow module declaration #50