Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Is there a OnScroll function for vectormap?

Ominous Vibes priority asked 2 years ago


Is there an onScroll function to which I can bind a function? I need to hide a few elements when the vector map is focused, is that possible?

Thanks


Krzysztof Wilk staff answered 2 years ago


Hi!

I think this is achievable by using a mutation observer to check changes in the root div element of the vector map. I'm afraid there are no built-in events in Vector Maps but we'll add them as soon as possible :)

Keep coding!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.0.0
  • Device: pc
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No