Jump to content
Search Community

violacase

Members
  • Posts

    76
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

4,221 profile views

violacase's Achievements

  1. @GreenSock I also noticed that later... You were just a bit faster in your reply https://codepen.io/violacase/pen/YzjGZze
  2. Spoken too soon. In your pen scrolling up and down changes the state immediately to begin or end state. I miss the in between state...
  3. I understand @Osublake is now inactive due to illness. I hope it's not too serious... I think he's a great programmer and a very nice guy. His contributions to this forum are of excellent quality. That being said: This pen behaves exactly as I would like to use it. However, the code is written with an old Gsap version. I can't manage to upgrade the code to the latest version. Does anyone have the time and inclination to do that for me? It would be great.
  4. Sorry my fault. Problem is over. I tried to import from "gsap". Should be "gsap/all"
  5. dependencies in package.json gives: "gsap": "npm:@gsap/shockingly@^3.9.1",
  6. Hey OSUblake, long time no see This gives another problem, i.e.: vue-router.esm-bundler.js:72 [Vue Router warn]: Unexpected error when starting the router: SyntaxError: The requested module '/node_modules/.vite/gsap.js?v=276db396' does not provide an export named 'DrawSVGPlugin' Perhaps something to do with the vite bundler? Perhaps vite is looking at the wrong Gsap package?
  7. <script setup> ... import { gsap } from "gsap/all" gsap.registerPlugin(DrawSVGPlugin) ... </script> Gives : Uncaught (in promise) ReferenceError: DrawSVGPlugin is not defined I'm stuck...
  8. I found that it has not much to do with gsap. It's a Vue2 and unfortunately also Vue3 thing. I'm not afraid. Vue does it's DOM refreshes. In updating the DOM who gets fastest ? Gsap or Vue? Firefox is silent.
  9. Thx again @OSUblake The link you gave surely gives the right direction.
  10. With a click handler I abort an ongoing gsap procedure. Chrome complains with the title's message. Is this something to take into concern?.
  11. Many thanks @OSUblake! And a big hug for explaining just a bit more then my question was about initial
  12. @Cassie Thanks for so far. I really want to be certain. In my future (text fun) projects I think I have to create (and revert of course) many instances in a single page.
  13. Since a new instance of SplitText is a 'new' object I wonder if Splittext.revert() not only clears the DOM but also the object itself from memory. If not how do I free the object itself?
  14. @Cassie Yes, I understand. Clear explanation. In this case 'a poem' might be rather important to have these aria things etc. well done. So íf you'd like to fork it you gonna make me a happy old man.
×
×
  • Create New...