Skip to content

Параллакс текста обзервер#21

Draft
tmrr13 wants to merge 4 commits intomasterfrom
cursor/-bc-7b9e687a-35a6-41ce-be7f-eb714b8af276-63ce
Draft

Параллакс текста обзервер#21
tmrr13 wants to merge 4 commits intomasterfrom
cursor/-bc-7b9e687a-35a6-41ce-be7f-eb714b8af276-63ce

Conversation

@tmrr13
Copy link
Copy Markdown
Owner

@tmrr13 tmrr13 commented Jan 30, 2026

Convert Alpine.js parallax text effect to vanilla JS using Intersection and Mutation Observers for class-based application.

The original request was to refactor an Alpine.js example to pure JS, allowing users to apply the parallax effect simply by adding a class to a text block. This implementation uses IntersectionObserver to manage the requestAnimationFrame loop efficiently and MutationObserver to handle dynamically added/removed elements or class changes.


Open in Cursor Open in Web

Co-authored-by: goodslyfox <goodslyfox@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Jan 30, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 3 commits January 30, 2026 09:24
Co-authored-by: goodslyfox <goodslyfox@gmail.com>
Co-authored-by: goodslyfox <goodslyfox@gmail.com>
Co-authored-by: goodslyfox <goodslyfox@gmail.com>
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.

2 participants