Is there a OnScroll function for vectormap?


Topic: Is there a OnScroll function for vectormap?

Ominous Vibes pro premium priority asked 3 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 3 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
  • User: Pro
  • 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
Tags