Comparing version 0.3.8 to 0.3.9
@@ -16,2 +16,4 @@ 'use strict'; | ||
this.triggerEvent('willReplaceContent'); | ||
// replace blocks | ||
@@ -18,0 +20,0 @@ for (var i = 0; i < page.blocks.length; i++) { |
{ | ||
"name": "swup", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "Animated page transitions with css.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -307,4 +307,5 @@ # swup | ||
### List of all events | ||
* **swup:contentReplaced** - triggers when the content of page is replaced | ||
* **swup:pageView** - similar as previous, except it is once trigger on load of the page | ||
* **swup:willReplaceContent** - triggers right before the content of page is replaced | ||
* **swup:contentReplaced** - triggers right after the content of page is replaced | ||
* **swup:pageView** - similar as previous, except it is once triggered on load | ||
* **swup:hoverLink** - triggers when link is hovered | ||
@@ -311,0 +312,0 @@ * **swup:clickLink** - triggers when link is clicked |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1013
392
125294