Skip to content

Releases: github/include-fragment-element

v5.3.0

09 Mar 12:29
Compare
Choose a tag to compare

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

29 Jun 17:44
09c3583
Compare
Choose a tag to compare
  • This adds two custom events, include-fragment-replace and include-fragment-replaced. See details at #59.

v5.1.3

03 Jun 21:48
8ac2a25
Compare
Choose a tag to compare
  • Convert to TypeScript/remove Flow type support.
  • Package is now type module. UMD build is removed.

v5.1.2

05 Feb 08:49
594594f
Compare
Choose a tag to compare
  • use .includes(..) instead of .match(..) to identify accept header (#56)

v5.1.1...v5.1.2

v5.1.1

20 Jan 12:46
585ef48
Compare
Choose a tag to compare
  • Add type to HTMLElementTagNameMap in typescript declaration file (#55)

v5.1.0...v5.1.1

v5.1.0

05 Nov 20:17
14d92ff
Compare
Choose a tag to compare

Add support for an optional <include-fragment accept=""> attribute for specifying the Accept header for fetch requests. #51.

5.0.7

08 Oct 17:34
v5.0.7
Compare
Choose a tag to compare
  • Fix Flow module declaration #50

v5.0.6

12 Sep 11:03
Compare
Choose a tag to compare
  • types(ts): fix window declaration type a4a8aa6

v5.0.5...v5.0.6

v5.0.5

11 Sep 17:03
Compare
Choose a tag to compare
  • types(TS): add window declaration c726aee

v5.0.4...v5.0.5

v5.0.4

08 Aug 09:09
213d197
Compare
Choose a tag to compare
  • Merge pull request #47 from github/publish-to-gpr-as-well ad5a52d
  • publish to GPR as a postpublish step 4ed82bf

v5.0.3...v5.0.4