Skip to content

Conversation

@freethinkel
Copy link

@freethinkel freethinkel commented May 31, 2025

This PR defines a utility for tracking various window dimensions.

Window Properties Tracked

The function tracks 8 window-related properties:

  1. $scrollX: Current horizontal scroll position
  2. $scrollY: Current vertical scroll position
  3. $innerWidth: Width of the viewport
  4. $innerHeight: Height of the viewport
  5. $outerWidth: Width of the browser window
  6. $outerHeight: Height of the browser window
  7. $screenTop: Distance from the top of the screen to the browser window
  8. $screenLeft: Distance from the left of the screen to the browser window

@netlify
Copy link

netlify bot commented May 31, 2025

Deploy Preview for withease ready!

Name Link
🔨 Latest commit 4afd42e
🔍 Latest deploy log https://app.netlify.com/projects/withease/deploys/683b07c4f478b20008302fcf
😎 Deploy Preview https://deploy-preview-97--withease.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant