3.2.0
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) %}.