Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Webflow.js resize example
var Webflow = Webflow || [];
Webflow.push(function () {
// Find example element
var $element = $('.resize-demo');
var $parent = $element.parent();
// Listen for optimized resize event
Webflow.resize.on(function () {
// Do something with element on resize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment