Socket
Socket
Sign inDemoInstall

swup

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

2

lib/modules/renderPage.js

@@ -16,2 +16,4 @@ 'use strict';

this.triggerEvent('willReplaceContent');
// replace blocks

@@ -18,0 +20,0 @@ for (var i = 0; i < page.blocks.length; i++) {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc