Skip to content

2.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Aug 17:54
· 32 commits to develop since this release
2.10.0
51a1a42

Added

  • Added the sprig.swapOob(selector, template, variables) function that swaps a template out-of-band.
  • Added the sprig.triggerRefresh(selector, variables) function that triggers a refresh on a Sprig component.

Changed

  • The sprig.triggerRefreshOnLoad(selector) function now appends output to the end of the body and should be called using {% do sprig.triggerRefreshOnLoad(selector) %}.