Skip to content

Conversation

glucka
Copy link
Contributor

@glucka glucka commented May 19, 2025

With this small change, is possible to use dynamic import too: import(../pathto/trig.js).then(module => {
trig.trigInit()
});

With this small change, is possible to use dynamic import too:
import(../pathto/trig.js).then(module => {
        trig.trigInit()
});
@iDev-Games
Copy link
Owner

Nice one, I will pull this and add my latest change to the trig-scroll-top code. It currently checks if at the top but due to padding and margins it can be triggered just before the top of the screen sometimes. I`ll put them together and release as v4.2.1.

Thanks again.

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